Skip to content

Commit ce72a55

Browse files
feat(workflows,tools): every workflow and tool package is publishable standalone (CL-8157) (#760)
* Add publishable-workflows structural check CL-8157 makes every workflows/* and *-tools package individually publishable. Add check:publishable-workflows so a package that drops private: true regains it, or gains a workspace:*/private runtime dependency, fails CI instead of silently drifting. Claude-Session: https://claude.ai/code/session_01RweuMUskU2nvcFhdckc7EG * feat(workflows,tools): make every workflow and tools package publishable Every workflows/* package and every publishable packages/*-tools package drops private: true and gains a standalone-tarball shape: name/version already existed, exports/files/license/repository/publishConfig round it out, @intx/* moves from dependencies to peerDependencies pinned at the exact npm-published version (0.3.0, matching vendor/intx/*'s own manifests), and any @corbits/* runtime dependency is pinned to that package's own literal version instead of workspace:* (which never survives a publish). Workflows also gain interchange.workflow, the field the sidecar's registry-source loader reads to import the definition module. devDependencies keep workspace:*/catalog: — they're monorepo-only dev conveniences, never installed by a consumer of the published tarball. access-tools, connections-tools, and interaction-tools stay private: each has a runtime dependency (@corbits/error-sink or @corbits/connections) that is itself still private and out of this ticket's scope; publishing them would ship a tarball an installer can never satisfy. Claude-Session: https://claude.ai/code/session_01RweuMUskU2nvcFhdckc7EG
1 parent ad8c081 commit ce72a55

103 files changed

Lines changed: 1214 additions & 775 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎bun.lock‎

Lines changed: 138 additions & 78 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/agent-directory-tools/package.json‎

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,36 @@
11
{
22
"name": "@corbits/agent-directory-tools",
3-
"private": true,
43
"description": "Myra's manager tools: list_agents and create_agent as an @intx/agent tool bundle — creates a new specialist agent definition in the caller's own tenant and, by default, mints or reopens that specialist's own 1:1 chat. Creation is free; the reactor never parks the create/mint pair",
54
"version": "0.0.6",
65
"license": "LGPL-2.1-or-later",
76
"type": "module",
87
"exports": {
98
".": "./src/index.ts"
109
},
10+
"files": [
11+
"src",
12+
"LICENSE",
13+
"README.md"
14+
],
15+
"repository": {
16+
"type": "git",
17+
"url": "https://github.com/corbitsdev/workbench.git",
18+
"directory": "packages/agent-directory-tools"
19+
},
20+
"publishConfig": {
21+
"access": "public"
22+
},
1123
"scripts": {
1224
"typecheck": "tsc --noEmit",
1325
"test": "bun test"
1426
},
1527
"dependencies": {
16-
"@intx/agent": "workspace:*",
17-
"@intx/types": "workspace:*",
1828
"arktype": "catalog:"
1929
},
30+
"peerDependencies": {
31+
"@intx/agent": "0.3.0",
32+
"@intx/types": "0.3.0"
33+
},
2034
"devDependencies": {
2135
"@types/bun": "catalog:",
2236
"typescript": "catalog:"

‎packages/agent-directory-tools/tsconfig.json‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,5 @@
1111
"rootDir": "../.."
1212
},
1313
"include": ["src"],
14-
"exclude": [],
15-
"references": [
16-
{
17-
"path": "../../vendor/intx/agent/tsconfig.src.json"
18-
},
19-
{
20-
"path": "../../vendor/intx/types/tsconfig.src.json"
21-
}
22-
]
14+
"exclude": []
2315
}

‎packages/agent-directory-tools/tsconfig.src.json‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,5 @@
88
"emitDeclarationOnly": true,
99
"outDir": "dist",
1010
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
11-
},
12-
"references": [
13-
{
14-
"path": "../../vendor/intx/agent/tsconfig.src.json"
15-
},
16-
{
17-
"path": "../../vendor/intx/types/tsconfig.src.json"
18-
}
19-
]
11+
}
2012
}

‎packages/capability-tools/package.json‎

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,36 @@
11
{
22
"name": "@corbits/capability-tools",
3-
"private": true,
4-
"description": "The request_capability tool as an @intx/agent tool bundle (CL-6084): an agent asks in-chat for a tool package, skill, or model it doesn't have, gated behind Interchange's native per-invocation approval, and \u2014 once approved \u2014 calls the sanctioned workflow-run capabilities surface with the run's own bearer token, never a model-supplied identity",
3+
"description": "The request_capability tool as an @intx/agent tool bundle (CL-6084): an agent asks in-chat for a tool package, skill, or model it doesn't have, gated behind Interchange's native per-invocation approval, and — once approved — calls the sanctioned workflow-run capabilities surface with the run's own bearer token, never a model-supplied identity",
54
"version": "0.0.6",
65
"license": "LGPL-2.1-or-later",
76
"type": "module",
87
"exports": {
98
".": "./src/index.ts"
109
},
10+
"files": [
11+
"src",
12+
"LICENSE",
13+
"README.md"
14+
],
15+
"repository": {
16+
"type": "git",
17+
"url": "https://github.com/corbitsdev/workbench.git",
18+
"directory": "packages/capability-tools"
19+
},
20+
"publishConfig": {
21+
"access": "public"
22+
},
1123
"scripts": {
1224
"typecheck": "tsc --noEmit",
1325
"test": "bun test"
1426
},
1527
"dependencies": {
16-
"@intx/agent": "workspace:*",
17-
"@intx/types": "workspace:*",
1828
"arktype": "catalog:"
1929
},
30+
"peerDependencies": {
31+
"@intx/agent": "0.3.0",
32+
"@intx/types": "0.3.0"
33+
},
2034
"devDependencies": {
2135
"@types/bun": "catalog:",
2236
"typescript": "catalog:"

‎packages/capability-tools/tsconfig.json‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,5 @@
1111
"rootDir": "../.."
1212
},
1313
"include": ["src"],
14-
"exclude": [],
15-
"references": [
16-
{
17-
"path": "../../vendor/intx/agent/tsconfig.src.json"
18-
},
19-
{
20-
"path": "../../vendor/intx/types/tsconfig.src.json"
21-
}
22-
]
14+
"exclude": []
2315
}

‎packages/capability-tools/tsconfig.src.json‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,5 @@
99
"emitDeclarationOnly": true,
1010
"outDir": "dist",
1111
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
12-
},
13-
"references": [
14-
{
15-
"path": "../../vendor/intx/agent/tsconfig.src.json"
16-
},
17-
{
18-
"path": "../../vendor/intx/types/tsconfig.src.json"
19-
}
20-
]
12+
}
2113
}

‎packages/catalog-tools/package.json‎

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,36 @@
11
{
22
"name": "@corbits/catalog-tools",
3-
"private": true,
43
"description": "The list_model_concepts, pick_models and estimate_run_cost tools as an @intx/agent bundle: an agent asks for a model by what the work needs and gets back an ordered, priced chain of what this bench can actually reach — never a model named by hand.",
54
"version": "0.0.6",
65
"license": "LGPL-2.1-or-later",
76
"type": "module",
87
"exports": {
98
".": "./src/index.ts"
109
},
10+
"files": [
11+
"src",
12+
"LICENSE",
13+
"README.md"
14+
],
15+
"repository": {
16+
"type": "git",
17+
"url": "https://github.com/corbitsdev/workbench.git",
18+
"directory": "packages/catalog-tools"
19+
},
20+
"publishConfig": {
21+
"access": "public"
22+
},
1123
"scripts": {
1224
"typecheck": "tsc --noEmit",
1325
"test": "bun test"
1426
},
1527
"dependencies": {
16-
"@intx/agent": "workspace:*",
17-
"@intx/types": "workspace:*",
1828
"arktype": "catalog:"
1929
},
30+
"peerDependencies": {
31+
"@intx/agent": "0.3.0",
32+
"@intx/types": "0.3.0"
33+
},
2034
"devDependencies": {
2135
"@types/bun": "catalog:",
2236
"typescript": "catalog:"

‎packages/catalog-tools/tsconfig.json‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,5 @@
1111
"rootDir": "../.."
1212
},
1313
"include": ["src"],
14-
"exclude": [],
15-
"references": [
16-
{
17-
"path": "../../vendor/intx/agent/tsconfig.src.json"
18-
},
19-
{
20-
"path": "../../vendor/intx/types/tsconfig.src.json"
21-
}
22-
]
14+
"exclude": []
2315
}

‎packages/catalog-tools/tsconfig.src.json‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,5 @@
88
"emitDeclarationOnly": true,
99
"outDir": "dist",
1010
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
11-
},
12-
"references": [
13-
{
14-
"path": "../../vendor/intx/agent/tsconfig.src.json"
15-
},
16-
{
17-
"path": "../../vendor/intx/types/tsconfig.src.json"
18-
}
19-
]
11+
}
2012
}

0 commit comments

Comments
 (0)