@canonmsg/claude-code-plugin 0.21.2 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/approval-diff.d.ts +1 -1
- package/dist/approval-diff.js +1 -1
- package/dist/approval-server.d.ts +1 -1
- package/dist/cli-entry.d.ts +2 -2
- package/dist/cli-entry.js +1 -1
- package/dist/host.d.ts +1 -1
- package/dist/host.js +1051 -698
- package/dist/inbound-policy.d.ts +22 -0
- package/dist/inbound-policy.js +46 -0
- package/dist/mcp-args.d.ts +1 -1
- package/dist/register.js +25 -73
- package/dist/server.js +11 -23
- package/dist/session-state.d.ts +6 -55
- package/dist/session-state.js +17 -199
- package/dist/startup-recovery.d.ts +46 -0
- package/dist/startup-recovery.js +59 -0
- package/dist/streaming-buffer.d.ts +16 -0
- package/dist/streaming-buffer.js +52 -0
- package/dist/tool-policy.d.ts +1 -2
- package/package.json +8 -10
- package/dist/bridge-bin.d.ts +0 -14
- package/dist/bridge-bin.js +0 -27
- package/dist/session-defaults.d.ts +0 -35
- package/dist/session-defaults.js +0 -124
- package/dist/subagent-activity.d.ts +0 -11
- package/dist/subagent-activity.js +0 -51
package/README.md
CHANGED
package/dist/approval-diff.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CanonUnifiedDiff } from '@canonmsg/core
|
|
1
|
+
import { type CanonUnifiedDiff } from '@canonmsg/core';
|
|
2
2
|
/** Read a file's text, or null when the file does not exist. */
|
|
3
3
|
export type ApprovalDiffReadFile = (filePath: string) => Promise<string | null>;
|
|
4
4
|
export interface SynthesizeApprovalDiffOptions {
|
package/dist/approval-diff.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isAbsolute, join, relative } from 'node:path';
|
|
2
|
-
import { sanitizeUnifiedDiffForSharing, truncateUnifiedDiff, } from '@canonmsg/core
|
|
2
|
+
import { sanitizeUnifiedDiffForSharing, truncateUnifiedDiff, } from '@canonmsg/core';
|
|
3
3
|
/** Unified-hunk context lines on either side of a change (git default). */
|
|
4
4
|
const HUNK_CONTEXT_LINES = 3;
|
|
5
5
|
/**
|
package/dist/cli-entry.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { handleCliMetadataRequest, isDirectExecution, readCliPackageVersion, runCli, } from '@canonmsg/core
|
|
2
|
-
export type { CliMetadata, RunCliMetadataOptions, } from '@canonmsg/core
|
|
1
|
+
export { handleCliMetadataRequest, isDirectExecution, readCliPackageVersion, runCli, } from '@canonmsg/core';
|
|
2
|
+
export type { CliMetadata, RunCliMetadataOptions, } from '@canonmsg/core';
|
package/dist/cli-entry.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { handleCliMetadataRequest, isDirectExecution, readCliPackageVersion, runCli, } from '@canonmsg/core
|
|
1
|
+
export { handleCliMetadataRequest, isDirectExecution, readCliPackageVersion, runCli, } from '@canonmsg/core';
|
package/dist/host.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { type SDKControlReloadPluginsResponse } from '@anthropic-ai/claude-agent-sdk';
|
|
3
|
-
import { type CanonRuntimeCommandDescriptor } from '@canonmsg/core
|
|
3
|
+
import { type CanonRuntimeCommandDescriptor } from '@canonmsg/core';
|
|
4
4
|
/**
|
|
5
5
|
* Claude Code's own slash commands (built-ins, plugins, project .claude/
|
|
6
6
|
* commands) are executable when sent as prompt text, so the runtime's command
|