Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions apps/hub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,14 @@
"@corbits/run-key-history": "workspace:*",
"@corbits/run-scope": "workspace:*",
"@corbits/sidecar-placement": "workspace:*",
"@corbits/agent-workflow-authoring": "workspace:*",
"@corbits/skills": "workspace:*",
"@corbits/slack-tag": "workspace:*",
"@corbits/tool-registry-publish": "workspace:*",
"@corbits/turn-artifacts": "workspace:*",
"@corbits/workflow-deploy-source": "workspace:*",
"@corbits/url-path": "workspace:*",
"@corbits/webhook-triggers": "workspace:*",
"@corbits/workflow-catalog": "workspace:*",
"@corbits/workflow-source": "workspace:*",
"@corbits/workflows": "workspace:*",
"@intx/authz": "0.3.0",
"@intx/crypto": "0.3.0",
"@intx/db": "workspace:*",
Expand Down
14 changes: 7 additions & 7 deletions apps/hub/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,11 @@ import {
} from "@corbits/workflow-catalog";
import { createConnectGithubRoutes } from "@corbits/workflow-catalog/connect-github-routes";
import { createTemplateBlockRoutes } from "@corbits/workflow-catalog/template-block-routes";
import { createWorkflowDetailRoute } from "@corbits/workflow-catalog/detail-route";
import {
createWorkflowDetailRoute,
renderWorkflowSourceTree,
WORKFLOW_SOURCE_ENTRY,
} from "@corbits/workflow-source";
} from "@corbits/workflows";
import {
createDrizzleDraftStore,
createDrizzleRoutineStore,
Expand Down Expand Up @@ -227,7 +227,7 @@ import {
import {
createDrizzleWorkflowDeploySourceStore,
withDeploySourceRecording,
} from "@corbits/workflow-deploy-source";
} from "@corbits/workflows";
import {
FoldedRunFailedError,
FoldedRunTimedOutError,
Expand Down Expand Up @@ -342,7 +342,7 @@ import {
createWorkflowAuthorRoutes,
WorkflowAuthorError,
type WorkflowDeployer,
} from "@corbits/agent-workflow-authoring";
} from "@corbits/workflows";
import { mountArtifacts } from "./artifacts-mount";
import { mountWorkbenchSlackTag } from "./slack-tag-mount";
import {
Expand Down Expand Up @@ -1730,8 +1730,8 @@ export async function createHub(config: HubConfig) {
// `createWorkflowDefinitionRoutes` (`vendor/intx/hub-api/src/app.ts`
// already mounts that one at this same `/workflows/definitions`
// prefix): this GET is a Workbench-owned read composed over native
// rows plus `@corbits/workflow-deploy-source`, so it lives in
// `@corbits/workflow-catalog`, not the vendored tree.
// rows plus `@corbits/workflows`'s `./deploy-source`, so it lives in
// `@corbits/workflows`'s `./detail`, not the vendored tree.
app.route(
`${TENANT_PREFIX}/workflows/definitions`,
createWorkflowDetailRoute({
Expand Down Expand Up @@ -2555,7 +2555,7 @@ export async function createHub(config: HubConfig) {
// Template block workflows (CL-6405, cut over to native deploy in
// CL-7364): the instantiate path's `deployBlockWorkflow` port lands
// here — the same source-form materialization pattern (asset +
// `@corbits/workflow-source` tree) applied to a template's referenced
// `@corbits/workflows`'s `./source` tree) applied to a template's referenced
// block definition (`code-review` today), now deployed through the
// same `workflowDeployer` the agent-authored deploy path above uses
// rather than a hub-local inert freeze.
Expand Down
2 changes: 1 addition & 1 deletion apps/sidecar/src/workflow-substrate-factory/step-env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ export function createSidecarStepBuildEnv(
hubChatUrl: deps.hubArtifactsUrl,
// And under the key `@corbits/workflow-authoring-tools` declares
// (`requires: ["hubWorkflowAuthoringUrl", "sidecarToken", "address"]`)
// for `@corbits/agent-workflow-authoring`'s run-authenticated routes.
// for `@corbits/workflows`'s `./authoring`'s run-authenticated routes.
hubWorkflowAuthoringUrl: deps.hubArtifactsUrl,
sidecarToken: deps.sidecarToken,
definitionId: deps.definitionId,
Expand Down
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@corbits/text-diff": "workspace:*",
"@corbits/url-path": "workspace:*",
"@corbits/workflow-catalog": "workspace:*",
"@corbits/workflows": "workspace:*",
"@corbits/icons": "workspace:*",
"@intx/types": "workspace:*",
"@radix-ui/react-dialog": "^1.1.15",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/workflow-detail-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// lifecycle isn't `deployed`.
//
// Never renders a credential value — only the binding names the hub
// route already redacted to (`@corbits/workflow-catalog`'s
// route already redacted to (`@corbits/workflows`'s `./detail`'s
// `detail-route.ts`) — and never reads `workflow.json` (see
// docs/workflow-model.md's retirement).
import {
Expand Down
12 changes: 6 additions & 6 deletions apps/web/src/workflow-detail-api.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
// The workflow detail page's one seam to the hub's read route
// (`@corbits/workflow-catalog/detail-route.ts`, mounted at
// (`@corbits/workflows`'s `./detail/detail-route.ts`, mounted at
// `${TENANT_PREFIX}/workflows/definitions/:definitionAssetId/detail` in
// `apps/hub/src/index.ts`). Wire schema and pure display helpers live in
// `@corbits/workflow-catalog`, browser-safe like `routines-api.ts`'s own
// `@corbits/workflows/client`, browser-safe like `routines-api.ts`'s own
// definitions listing — this file is fetch composition only.
import { type } from "arktype";
import type { ArkErrors } from "arktype";
import { ApiQueryError, UnauthenticatedError } from "@corbits/api-query";
import { WorkflowDefinitionDetail } from "@corbits/workflow-catalog";
import type { WorkflowDefinitionDetail as WorkflowDefinitionDetailT } from "@corbits/workflow-catalog";
import { WorkflowDefinitionDetail } from "@corbits/workflows/client";
import type { WorkflowDefinitionDetail as WorkflowDefinitionDetailT } from "@corbits/workflows/client";

export type { WorkflowDefinitionDetail as WorkflowDefinitionDetailT } from "@corbits/workflow-catalog";
export type { WorkflowDefinitionDetail as WorkflowDefinitionDetailT } from "@corbits/workflows/client";
export {
workflowDetailPath,
workflowNotLaunchableReason,
} from "@corbits/workflow-catalog";
} from "@corbits/workflows/client";

type Validator<T> = (data: unknown) => T | ArkErrors;

Expand Down
Loading
Loading