@yansirplus/cli 0.5.17 → 0.5.19
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 +12 -6
- package/agent-catalog/agentOS/SKILL.md +22 -0
- package/agent-catalog/agentOS/references/agent/decision-graph.json +530 -0
- package/agent-catalog/agentOS/references/agent/errors.json +497 -0
- package/agent-catalog/agentOS/references/agent/invariant-matrix.json +337 -0
- package/agent-catalog/agentOS/references/agent/primitives.json +989 -0
- package/agent-catalog/agentOS/references/agent/recipes.json +109 -0
- package/agent-catalog/agentOS/references/agent/start-here.md +25 -0
- package/agent-catalog/agentOS/references/package-map.md +73 -0
- package/agent-catalog/agentOS/references/provenance.json +251 -0
- package/agent-catalog/agentOS/references/public-api/cli.md +20 -0
- package/agent-catalog/agentOS/references/public-api/client.md +90 -0
- package/agent-catalog/agentOS/references/public-api/core.md +1907 -0
- package/agent-catalog/agentOS/references/public-api/runtime.md +843 -0
- package/dist/build/agent-authoring/config.d.ts +20 -5
- package/dist/build/agent-authoring/config.js +132 -32
- package/dist/build/agent-authoring/manifest-compiler.d.ts +131 -2
- package/dist/build/agent-authoring/manifest-compiler.js +630 -8
- package/dist/build/agent-authoring/shared.d.ts +2 -0
- package/dist/build/agent-authoring/shared.js +2 -0
- package/dist/build/agent-authoring/static-target.d.ts +6 -3
- package/dist/build/agent-authoring/static-target.js +1900 -281
- package/dist/build/agent-authoring.d.ts +3 -3
- package/dist/build/agent-authoring.js +1 -1
- package/dist/build/build-cli.d.ts +1 -1
- package/dist/build/build-cli.js +1629 -26
- package/dist/check/algorithmic/client-boundary-checks.mjs +3 -34
- package/dist/check/algorithmic/convergence-smoke-checks.mjs +652 -6
- package/dist/check/algorithmic/distribution-checks.mjs +8 -7
- package/dist/check/algorithmic/package-boundary-checks.mjs +3 -2
- package/dist/check/algorithmic/repo-surface-checks.mjs +55 -1
- package/dist/check/algorithmic/static-target-checks.mjs +83 -5
- package/dist/check/algorithmic-checks.mjs +10 -17
- package/dist/check/default-gate.mjs +3 -3
- package/dist/check/effect-scan-gate.mjs +121 -0
- package/dist/check/package-graph.mjs +2 -32
- package/dist/consumer-overlay.mjs +1281 -0
- package/dist/lib/public-api-model.mjs +19 -0
- package/dist/lib/repo-source-files.mjs +26 -0
- package/dist/lib/ts-module-loader.mjs +44 -0
- package/dist/lib/workspace-manifest.mjs +77 -0
- package/dist/main.mjs +171 -21
- package/dist/release-status.mjs +515 -0
- package/package.json +8 -4
- package/dist/check/check-coverage.mjs +0 -231
- package/dist/generate/generate-agent-docs.mjs +0 -435
- package/dist/generate/generate-carrier-reference.mjs +0 -514
- package/dist/generate/generate-docs.mjs +0 -345
- package/dist/generate/generate-effect-skill-manifests.mjs +0 -193
- package/dist/generate/project-docs-site.mjs +0 -190
- package/dist/lib/boundary-rules.mjs +0 -63
- package/dist/lib/capability-routes.mjs +0 -354
- package/dist/lib/projection-sink.mjs +0 -113
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { type WorkspaceToolName } from "@yansirplus/runtime";
|
|
2
2
|
export declare const AUTHORING_DEFAULTS_VERSION: "framework-defaults@agentos/v1";
|
|
3
|
+
export declare const GENERATED_LOAD_SKILL_TOOL_NAME: "load_skill";
|
|
4
|
+
export declare const GENERATED_READ_SKILL_FILE_TOOL_NAME: "read_skill_file";
|
|
3
5
|
export type JsonRecord = Readonly<Record<string, unknown>>;
|
|
4
6
|
export declare const isRecord: (value: unknown) => value is JsonRecord;
|
|
5
7
|
export declare const isNonEmptyString: (value: unknown) => value is string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { WORKSPACE_TOOL_NAMES } from "@yansirplus/runtime";
|
|
2
2
|
export const AUTHORING_DEFAULTS_VERSION = "framework-defaults@agentos/v1";
|
|
3
|
+
export const GENERATED_LOAD_SKILL_TOOL_NAME = "load_skill";
|
|
4
|
+
export const GENERATED_READ_SKILL_FILE_TOOL_NAME = "read_skill_file";
|
|
3
5
|
export const isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
4
6
|
export const isNonEmptyString = (value) => typeof value === "string" && value.length > 0;
|
|
5
7
|
export const hasFunction = (value, seen = new Set()) => {
|
|
@@ -2,12 +2,12 @@ import type { ProviderResourceId } from "@yansirplus/core/runtime-protocol";
|
|
|
2
2
|
import type { HandlerKind } from "@yansirplus/core/runtime-protocol";
|
|
3
3
|
import type { AuthoredAgentManifest } from "./manifest-compiler.js";
|
|
4
4
|
import { AGENTOS_CONFIG_LLM_ROUTE, AGENTOS_CONFIG_TARGET, type AgentOsConfigClientKind, type AgentOsConfigLlmRoute, type AgentOsConfigProfile, type AgentOsConfigTargetKind, type AgentOsConfigWorkspaceTopology, type NormalizedAgentOsConfig } from "./config.js";
|
|
5
|
-
export type StaticTargetGeneratedFilePath = ".agentos/generated/manifest.json" | ".agentos/generated/deployment.json" | ".agentos/generated/provenance.json" | ".agentos/generated/fingerprints.json" | ".agentos/generated/target.ts" | ".agentos/generated/cloudflare-scope.ts" | ".agentos/generated/worker.ts" | ".agentos/generated/wrangler.jsonc" | ".agentos/generated/sveltekit.remote.ts" | ".agentos/generated/client.ts" | ".agentos/generated/client.d.ts";
|
|
5
|
+
export type StaticTargetGeneratedFilePath = ".agentos/generated/manifest.json" | ".agentos/generated/deployment.json" | ".agentos/generated/provenance.json" | ".agentos/generated/fingerprints.json" | ".agentos/generated/channels.ts" | ".agentos/generated/schedules.ts" | ".agentos/generated/target.ts" | ".agentos/generated/local.ts" | ".agentos/generated/cloudflare-scope.ts" | ".agentos/generated/worker.ts" | ".agentos/generated/wrangler.jsonc" | ".agentos/generated/sveltekit.remote.ts" | ".agentos/generated/client.ts" | ".agentos/generated/client.d.ts";
|
|
6
6
|
export interface StaticTargetGeneratedFile {
|
|
7
7
|
readonly path: StaticTargetGeneratedFilePath;
|
|
8
8
|
readonly text: string;
|
|
9
9
|
}
|
|
10
|
-
export type StaticTargetModuleImportKind = "target-runtime" | "target-scope-helper" | "target-worker" | "target-config" | "provider-runtime" | "execution-domain-runtime" | "workspace-host" | "workspace-binding" | "platform-runtime" | "workspace-client" | "client-core" | "client-framework" | "client-transport" | "effect-runtime" | "semantic-json" | "authored-tool";
|
|
10
|
+
export type StaticTargetModuleImportKind = "target-runtime" | "target-scope-helper" | "target-worker" | "target-config" | "capability-runtime" | "provider-runtime" | "execution-domain-runtime" | "workspace-host" | "workspace-binding" | "channel-runtime" | "schedule-runtime" | "authored-channel" | "authored-schedule" | "authored-dynamic-resolver" | "channel-registry" | "schedule-registry" | "platform-runtime" | "workspace-client" | "client-core" | "client-framework" | "client-transport" | "effect-runtime" | "local-runtime" | "semantic-json" | "authored-tool";
|
|
11
11
|
export interface StaticTargetModuleImport {
|
|
12
12
|
readonly kind: StaticTargetModuleImportKind;
|
|
13
13
|
readonly source: string;
|
|
@@ -15,7 +15,7 @@ export interface StaticTargetModuleImport {
|
|
|
15
15
|
}
|
|
16
16
|
export interface CanonicalDeploymentIR {
|
|
17
17
|
readonly profile: AgentOsConfigProfile;
|
|
18
|
-
readonly target:
|
|
18
|
+
readonly target: AgentOsConfigTargetKind;
|
|
19
19
|
readonly llmRoute: typeof AGENTOS_CONFIG_LLM_ROUTE.OPENAI_CHAT_COMPATIBLE;
|
|
20
20
|
readonly client: AgentOsConfigClientKind;
|
|
21
21
|
readonly workspaceTopology?: AgentOsConfigWorkspaceTopology;
|
|
@@ -26,6 +26,9 @@ export interface MountIR {
|
|
|
26
26
|
readonly kind: "cloudflare-do";
|
|
27
27
|
readonly className: string;
|
|
28
28
|
readonly binding: string;
|
|
29
|
+
} | {
|
|
30
|
+
readonly kind: "local-node";
|
|
31
|
+
readonly target: typeof AGENTOS_CONFIG_TARGET.NODE_V1;
|
|
29
32
|
};
|
|
30
33
|
readonly projectionSinks: ReadonlyArray<"agent.info" | "workspace.state" | "workspace.files" | "runtime.events" | "runtime.input_requests">;
|
|
31
34
|
readonly providerResourceId?: ProviderResourceId;
|