Skip to content
Merged
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
2 changes: 2 additions & 0 deletions .github/workflows/release-toolcraft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
cd ../toolcraft-openapi && npm pkg set "dependencies.toolcraft=^${NEXT}"
- name: Build toolcraft packages and dependencies
run: npx turbo build --filter=toolcraft-openapi...
- name: Verify standalone install resolves all bundled imports
run: npm run smoke:toolcraft-standalone
- name: Publish toolcraft-schema
working-directory: packages/toolcraft-schema
run: npm publish --provenance --access public
Expand Down
10 changes: 8 additions & 2 deletions packages/toolcraft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"test": "cd ../.. && vitest run packages/toolcraft/src",
"test:unit": "cd ../.. && vitest run packages/toolcraft/src",
"lint": "cd ../.. && eslint packages/toolcraft/src --ext ts && tsc -p packages/toolcraft/tsconfig.json --noEmit",
"prepack": "node ../../scripts/manage-bundled-workspace-deps.mjs prepare . @poe-code/design-system @poe-code/agent-mcp-config @poe-code/agent-human-in-loop @poe-code/task-list @poe-code/file-lock @poe-code/agent-defs @poe-code/config-mutations tiny-mcp-client mcp-oauth auth-store",
"postpack": "node ../../scripts/manage-bundled-workspace-deps.mjs cleanup . @poe-code/design-system @poe-code/agent-mcp-config @poe-code/agent-human-in-loop @poe-code/task-list @poe-code/file-lock @poe-code/agent-defs @poe-code/config-mutations tiny-mcp-client mcp-oauth auth-store"
"prepack": "node ../../scripts/manage-bundled-workspace-deps.mjs prepare . @poe-code/design-system @poe-code/agent-mcp-config @poe-code/agent-human-in-loop @poe-code/task-list @poe-code/file-lock @poe-code/agent-defs @poe-code/config-mutations @poe-code/process-runner tiny-mcp-client mcp-oauth auth-store",
"postpack": "node ../../scripts/manage-bundled-workspace-deps.mjs cleanup . @poe-code/design-system @poe-code/agent-mcp-config @poe-code/agent-human-in-loop @poe-code/task-list @poe-code/file-lock @poe-code/agent-defs @poe-code/config-mutations @poe-code/process-runner tiny-mcp-client mcp-oauth auth-store"
},
"dependencies": {
"@clack/core": "^1.0.0",
Expand All @@ -45,6 +45,10 @@
"chalk": "^5.6.2",
"commander": "^14.0.3",
"console-table-printer": "^2.15.0",
"jose": "^6.1.2",
"jsonc-parser": "^3.3.1",
"mustache": "^4.2.0",
"smol-toml": "^1.3.0",
"tiny-stdio-mcp-server": "^0.1.0",
"yaml": "^2.8.2"
},
Expand All @@ -67,6 +71,7 @@
"@poe-code/file-lock",
"@poe-code/agent-defs",
"@poe-code/config-mutations",
"@poe-code/process-runner",
"tiny-mcp-client",
"mcp-oauth",
"auth-store"
Expand All @@ -79,6 +84,7 @@
"@poe-code/file-lock": "*",
"@poe-code/agent-defs": "*",
"@poe-code/config-mutations": "*",
"@poe-code/process-runner": "*",
"tiny-mcp-client": "*",
"mcp-oauth": "*",
"auth-store": "*"
Expand Down
9 changes: 8 additions & 1 deletion scripts/verify-toolcraft-standalone.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,14 @@ function runConsumerSmoke(projectDir, tarballs) {
[
"--input-type=module",
"--eval",
['await import("toolcraft");', 'await import("toolcraft/human-in-loop");'].join("\n")
[
'await import("toolcraft");',
'await import("toolcraft/cli");',
'await import("toolcraft/mcp");',
'await import("toolcraft/mcp-proxy");',
'await import("toolcraft/sdk");',
'await import("toolcraft/human-in-loop");'
].join("\n")
],
{ cwd: projectDir, stdio: "inherit" }
);
Expand Down
Loading