Skip to content
Draft
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
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/design-system/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@poe-code/design-system",
"version": "0.0.1",
"version": "0.0.2",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This version bump leaves packages/toolcraft-openapi/package.json pinned to @poe-code/design-system ^0.0.1. Since the workspace package is now 0.0.2, npm no longer satisfies that range locally and falls back to the registry; npm ci fails with a 404 for @poe-code/design-system@^0.0.1. Please update that workspace dependency and regenerate package-lock.json, or keep this package at 0.0.1.

"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/toolcraft-openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"dependencies": {
"@clack/core": "^1.0.0",
"@clack/prompts": "^1.0.0",
"@poe-code/design-system": "^0.0.1",
"toolcraft": "^0.0.1",
"@poe-code/design-system": "^0.0.2",
"toolcraft": "^0.0.4",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toolcraft was bumped to 0.0.4, but this workspace still depends on ^0.0.1 (which only accepts <0.0.2), so npm ci --ignore-scripts fails with Missing: toolcraft@0.0.1 from lock file. Please update this range and refresh package-lock.json.

Suggested change
"toolcraft": "^0.0.4",
"toolcraft": "^0.0.4",

"auth-store": "^0.0.1",
"chalk": "^5.6.2",
"console-table-printer": "^2.15.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/toolcraft/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "toolcraft",
"version": "0.0.1",
"version": "0.0.4",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -77,7 +77,7 @@
"auth-store"
],
"optionalDependencies": {
"@poe-code/design-system": "^0.0.1",
"@poe-code/design-system": "^0.0.2",
"@poe-code/agent-mcp-config": "*",
"@poe-code/agent-human-in-loop": "*",
"@poe-code/task-list": "*",
Expand Down
20 changes: 11 additions & 9 deletions packages/toolcraft/src/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -799,13 +799,14 @@ describe("runCLI", () => {
deploy --service <value>
approvals Inspect and execute queued approvals.

Global options
Options
--yes Accept defaults, skip prompts
--output <format> Output format: rich, md, json.
--debug Print stack traces for unexpected errors.
"
`);
expect(output).toContain("Global options");
expect(output).toContain("Options");
expect(output).not.toContain("Global options");
expect(output).not.toContain("--preset");
expect(output).toContain("--yes");
expect(output).toContain("--output <format>");
Expand Down Expand Up @@ -843,15 +844,16 @@ describe("runCLI", () => {
deploy --service <value>
approvals Inspect and execute queued approvals.

Global options
Options
--preset <path> Load parameter defaults from a JSON file
--yes Accept defaults, skip prompts
--output <format> Output format: rich, md, json.
--debug Print stack traces for unexpected errors.
--version Show version
"
`);
expect(output).toContain("Global options");
expect(output).toContain("Options");
expect(output).not.toContain("Global options");
expect(output).toContain("--preset <path>");
expect(output).toContain("--version");
expect(output).not.toContain("-h, --help");
Expand Down Expand Up @@ -2979,7 +2981,7 @@ describe("runCLI", () => {
deploy
approvals Inspect and execute queued approvals.

Global options
Options
--yes Accept defaults, skip prompts
--output <format> Output format: rich, md, json.
--debug Print stack traces for unexpected errors.
Expand Down Expand Up @@ -3155,7 +3157,7 @@ describe("runCLI", () => {
sibling Sibling leaf
approvals Inspect and execute queued approvals.

Global options
Options
--yes Accept defaults, skip prompts
--output <format> Output format: rich, md, json.
--debug Print stack traces for unexpected errors.
Expand Down Expand Up @@ -3228,7 +3230,7 @@ describe("runCLI", () => {
approvals Inspect and execute queued
approvals.

Global options
Options
--yes Accept defaults, skip prompts
--output <format> Output format: rich, md, json.
--debug Print stack traces for unexpected
Expand Down Expand Up @@ -3268,7 +3270,7 @@ describe("runCLI", () => {
deploy Deploy a service
approvals Inspect and execute queued approvals.

Global options
Options
--yes Accept defaults, skip prompts
--output <format> Output format: rich, md, json.
--debug Print stack traces for unexpected errors.
Expand Down Expand Up @@ -3341,7 +3343,7 @@ describe("runCLI", () => {
expect(dryRunCount).toBe(1);
expect(verboseCount).toBe(1);
expect(debugCount).toBe(1);
expect(rootHelp).toContain("Global options");
expect(rootHelp).toContain("Options");
expect(rootHelp).toMatch(/-v,\s*--verbose\s+Log the request line to stderr/);
expect(rootHelp).toMatch(/--debug\s+Print stack traces for unexpected errors/);

Expand Down
2 changes: 1 addition & 1 deletion packages/toolcraft/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,7 @@ function renderGroupHelp<TServices extends object>(
...collectSchemaGlobalFieldRows(group, scope, casing, globalLongOptionFlags)
];
sections.push(
`${text.sectionHeader("Global options")}\n${formatHelpOptionList(globalRows)}`
`${text.sectionHeader("Options")}\n${formatHelpOptionList(globalRows)}`
);
}

Expand Down
Loading