@inneranimalmedia/agentsam-sdk 2.6.10 → 2.6.11
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 +3 -0
- package/TRADEMARKS.md +22 -0
- package/apps/README.md +3 -0
- package/apps/cad-creator/LICENSE +21 -0
- package/apps/cad-creator/README.md +4 -1
- package/apps/cad-creator/shared/cad/package.json +1 -1
- package/apps/client-cms-editor/LICENSE +21 -0
- package/apps/client-cms-editor/README.md +3 -0
- package/apps/client-cms-editor/backend/package.json +2 -2
- package/apps/client-cms-editor/frontend/package.json +3 -3
- package/apps/client-cms-editor/package-lock.json +43 -43
- package/apps/client-cms-editor/package.json +3 -3
- package/apps/client-cms-editor/reference/harvest/HARVEST_RECEIPT.json +1 -1
- package/apps/client-cms-editor/reference/harvest/README.md +1 -1
- package/apps/client-cms-editor/reference/harvest/plans/ARCHIVE-INTAKE.md +1 -1
- package/apps/client-cms-editor/reference/harvest/plans/HARVEST-INDEX.md +1 -1
- package/apps/client-cms-editor/reference/harvest/plans/TOOLING-LAB.md +1 -1
- package/apps/client-cms-editor/shared/cms/package.json +1 -1
- package/docs/MINI.md +4 -2
- package/docs/REPO_FILE_MAP.txt +0 -1
- package/docs/SOURCE_ARCHITECTURE.md +1 -1
- package/docs/architecture/DUAL_ANALYTICS_PRODUCT.md +140 -0
- package/docs/content-studio/REVISION_GATE_2026-09-27.md +1 -1
- package/docs/engineering/go-portability/01-product-project-deployment-authority.md +69 -0
- package/docs/engineering/provider-internal-renames/01-lane-initialization.md +20 -0
- package/docs/engineering/provider-internal-renames/01a-runtime-environment-contract.md +115 -0
- package/docs/engineering/provider-internal-renames/02-cfoa.md +57 -0
- package/docs/engineering/provider-internal-renames/03-gclioa.md +32 -0
- package/docs/engineering/provider-internal-renames/04-goaude.md +50 -0
- package/docs/engineering/provider-internal-renames/05-gdrv.md +33 -0
- package/docs/engineering/provider-internal-renames/06-verification.md +103 -0
- package/docs/engineering/provider-internal-renames/README.md +77 -0
- package/docs/engineering/provider-internal-renames/runtime-environment-contract.json +220 -0
- package/docs/engineering/test-diagnostics/go-cli-test-hang-20261003.md +49 -0
- package/docs/engineering/test-diagnostics/go-skip-deploy-docker-fix.md +90 -0
- package/docs/knowledge-service-verification.md +3 -3
- package/docs/plans/AGENTSAM-SUSPEND-QUEUE-KNOWLEDGE-RDP-2026-10-03.md +870 -0
- package/docs/plans/LOCAL-STUDIO-GRADUATION-2026-09-26.md +9 -9
- package/docs/plans/MACHINE-FIRST-APPS-TUI-2026-09-24.md +11 -11
- package/docs/plans/RECONCILIATION-2026-09-19.md +6 -6
- package/docs/plans/SAM_WORK_PROTOCOL.md +667 -0
- package/docs/plans/TOMORROW-EXTENSIVE-TODO-2026-09-26.md +2 -2
- package/docs/plans/UNIVERSAL-INGEST-MACHINE-FIRST-2026-09-24.md +3 -3
- package/examples/hyperspace-demo/src/main.tsx +227 -110
- package/migrations/d1/0020_agentsam_receipt_catalog.sql +35 -0
- package/migrations/runtime/0006_agent_run_suspend_activity.sql +53 -0
- package/migrations/runtime/0007_queue_control.sql +40 -0
- package/migrations/runtime/0008_agent_run_dependencies.sql +24 -0
- package/migrations/runtime/0008_analytics_legacy_bootstrap.sql +43 -0
- package/migrations/runtime/0009_analytics_authority.sql +108 -0
- package/package.json +26 -11
- package/packages/agentsam-brand/README.md +3 -0
- package/packages/agentsam-brand/package.json +2 -2
- package/packages/agentsam-contracts/dist/adapter.d.ts +22 -0
- package/packages/agentsam-contracts/dist/adapter.js +0 -0
- package/packages/agentsam-contracts/dist/agent.d.ts +66 -0
- package/packages/agentsam-contracts/dist/agent.js +15 -0
- package/packages/agentsam-contracts/dist/artifacts.d.ts +70 -0
- package/packages/agentsam-contracts/dist/artifacts.js +0 -0
- package/packages/agentsam-contracts/dist/authority.d.ts +21 -0
- package/packages/agentsam-contracts/dist/authority.js +0 -0
- package/packages/agentsam-contracts/dist/context.d.ts +14 -0
- package/packages/agentsam-contracts/dist/context.js +0 -0
- package/packages/agentsam-contracts/dist/errors.d.ts +121 -0
- package/packages/agentsam-contracts/dist/errors.js +5 -0
- package/packages/agentsam-contracts/dist/events.d.ts +53 -0
- package/packages/agentsam-contracts/dist/events.js +0 -0
- package/packages/agentsam-contracts/dist/execution.d.ts +38 -0
- package/packages/agentsam-contracts/dist/execution.js +0 -0
- package/packages/agentsam-contracts/dist/hooks.d.ts +31 -0
- package/packages/agentsam-contracts/dist/hooks.js +0 -0
- package/packages/agentsam-contracts/dist/identity.d.ts +15 -0
- package/packages/agentsam-contracts/dist/identity.js +0 -0
- package/packages/agentsam-contracts/dist/index.d.ts +16 -0
- package/packages/agentsam-contracts/dist/index.js +164 -0
- package/packages/agentsam-contracts/dist/models.d.ts +9 -0
- package/packages/agentsam-contracts/dist/models.js +0 -0
- package/packages/agentsam-contracts/dist/providers.d.ts +27 -0
- package/packages/agentsam-contracts/dist/providers.js +0 -0
- package/packages/agentsam-contracts/dist/repository.d.ts +56 -0
- package/packages/agentsam-contracts/dist/repository.js +15 -0
- package/packages/agentsam-contracts/dist/run.d.ts +113 -0
- package/packages/agentsam-contracts/dist/run.js +132 -0
- package/packages/agentsam-contracts/dist/tools.d.ts +82 -0
- package/packages/agentsam-contracts/dist/tools.js +0 -0
- package/packages/agentsam-contracts/dist/widgets.d.ts +38 -0
- package/packages/agentsam-contracts/dist/widgets.js +0 -0
- package/packages/agentsam-contracts/package.json +9 -1
- package/packages/agentsam-contracts/scripts/build.mjs +1 -1
- package/packages/agentsam-contracts/src/agent.ts +78 -3
- package/packages/agentsam-contracts/src/index.ts +2 -0
- package/packages/agentsam-contracts/src/run.ts +320 -0
- package/packages/agentsam-contracts/src/widgets.ts +58 -0
- package/packages/agentsam-contracts/test/contracts.test.mjs +1 -1
- package/packages/agentsam-contracts/test/run-contract.test.mjs +94 -0
- package/packages/agentsam-errors/package.json +1 -1
- package/packages/agentsam-goap/README.md +3 -0
- package/packages/agentsam-goap/package.json +2 -2
- package/packages/agentsam-hooks/package.json +2 -2
- package/packages/agentsam-hooks/src/adapters/agents.js +48 -22
- package/packages/agentsam-hooks/src/index.d.ts +16 -0
- package/packages/agentsam-knowledge/package.json +1 -1
- package/packages/agentsam-knowledge/src/backends/index.js +1 -1
- package/packages/agentsam-merch/README.md +62 -0
- package/packages/agentsam-merch/bin/agentsam-merch.mjs +16 -0
- package/packages/agentsam-merch/package.json +65 -0
- package/packages/agentsam-merch/profiles/completeful/dtg-back-large.json +42 -0
- package/packages/agentsam-merch/profiles/completeful/laser-engraving.json +39 -0
- package/packages/agentsam-merch/profiles/generic/embroidery-digitization.json +22 -0
- package/packages/agentsam-merch/schemas/collection-candidate.schema.json +66 -0
- package/packages/agentsam-merch/schemas/manufacturing-profile.schema.json +221 -0
- package/packages/agentsam-merch/src/adapters-completeful.js +50 -0
- package/packages/agentsam-merch/src/cli.js +93 -0
- package/packages/agentsam-merch/src/collection-lab.js +60 -0
- package/packages/agentsam-merch/src/compatibility.js +501 -0
- package/packages/agentsam-merch/src/derivatives.js +112 -0
- package/packages/agentsam-merch/src/index.d.ts +316 -0
- package/packages/agentsam-merch/src/index.js +46 -0
- package/packages/agentsam-merch/src/node/index.d.ts +58 -0
- package/packages/agentsam-merch/src/node/index.js +6 -0
- package/packages/agentsam-merch/src/node/raster.js +142 -0
- package/packages/agentsam-merch/src/node/vector.js +239 -0
- package/packages/agentsam-merch/src/product-concepts.js +118 -0
- package/packages/agentsam-merch/src/profile-registry.js +104 -0
- package/packages/agentsam-merch/src/profile.js +158 -0
- package/packages/agentsam-merch/src/transforms.js +215 -0
- package/packages/agentsam-merch/test/merch.test.mjs +332 -0
- package/packages/agentsam-merch/test/node-transforms.test.mjs +149 -0
- package/packages/agentsam-nav/dist/browser.global.js +71 -34
- package/packages/agentsam-nav/dist/browser.js +3179 -781
- package/packages/agentsam-nav/dist/index.js +3171 -773
- package/packages/agentsam-nav/package.json +1 -1
- package/packages/agentsam-queue-control/README.md +4 -1
- package/packages/agentsam-queue-control/package.json +4 -3
- package/packages/agentsam-queue-control/schemas/job-envelope.schema.json +111 -11
- package/packages/agentsam-queue-control/src/adapters/cloudflare.js +34 -6
- package/packages/agentsam-queue-control/src/adapters/memory.js +11 -2
- package/packages/agentsam-queue-control/src/adapters/sqlite.js +259 -0
- package/packages/agentsam-queue-control/src/contracts.js +207 -3
- package/packages/agentsam-queue-control/src/control-plane.js +62 -2
- package/packages/agentsam-queue-control/src/index.js +1 -0
- package/packages/agentsam-queue-control/test/queue-control.test.mjs +310 -0
- package/packages/agentsam-queue-control/test/sqlite-adapter.test.mjs +91 -0
- package/packages/agentsam-rapid-rust/README.md +3 -0
- package/packages/agentsam-repository/README.md +3 -0
- package/packages/agentsam-repository/package.json +1 -1
- package/packages/agentsam-vault/package.json +1 -1
- package/packages/agentsam-workbench/README.md +43 -0
- package/packages/agentsam-workbench/package.json +13 -3
- package/packages/agentsam-workbench/src/agent/AgentConversationSurface.tsx +108 -0
- package/packages/agentsam-workbench/src/agent/AgentPanel.tsx +25 -8
- package/packages/agentsam-workbench/src/agent/AgentRuntimeField.tsx +152 -0
- package/packages/agentsam-workbench/src/agent/Composer.tsx +10 -1
- package/packages/agentsam-workbench/src/agent/RunMode.ts +26 -0
- package/packages/agentsam-workbench/src/agent/Thread.tsx +18 -3
- package/packages/agentsam-workbench/src/agent/index.ts +3 -0
- package/packages/agentsam-workbench/src/index.ts +4 -0
- package/packages/agentsam-workbench/src/manufacturing/PreflightIndicator.tsx +203 -0
- package/packages/agentsam-workbench/src/manufacturing/index.ts +2 -0
- package/packages/agentsam-workbench/src/manufacturing/loading.ts +147 -0
- package/packages/agentsam-workbench/src/widgets/BuiltinWidget.tsx +22 -0
- package/packages/agentsam-workbench/src/widgets/CountdownWidget.tsx +68 -0
- package/packages/agentsam-workbench/src/widgets/WidgetFrame.tsx +56 -0
- package/packages/agentsam-workbench/src/widgets/countdown.ts +25 -0
- package/packages/agentsam-workbench/src/widgets/index.ts +6 -0
- package/packages/agentsam-workbench/src/widgets/registry.ts +13 -0
- package/packages/agentsam-workbench/src/widgets/useCountdown.ts +128 -0
- package/packages/agentsam-workbench/src/widgets/widgets.css +102 -0
- package/packages/connectors/{cloudflare → cfoa}/package.json +3 -3
- package/packages/heuristic-theme/package.json +1 -1
- package/packages/identity/README.md +3 -0
- package/packages/identity/backend/README.md +3 -0
- package/packages/identity/package.json +1 -1
- package/packages/identity/src/frontend/auth-portal/README.md +3 -0
- package/packages/identity/src/index.js +1 -1
- package/packages/identity/src/oauth/README.md +4 -1
- package/packages/identity/src/oauth/credentials.js +1 -1
- package/packages/identity/src/server/worker-router.js +1 -1
- package/packages/identity/tests/google-desktop-identity-login.test.mjs +1 -1
- package/packages/identity/tests/lane1-packed-consumer.test.mjs +1 -1
- package/packages/identity/tests/oauth-presets-accounts-ssot.test.mjs +1 -1
- package/packages/providers/completeful/package.json +1 -1
- package/packages/theme-church-site/package.json +1 -1
- package/packages/theme-companions-site/package.json +1 -1
- package/packages/theme-floors-site/package.json +1 -1
- package/packages/theme-fuelnfree-site/package.json +1 -1
- package/packages/theme-handyman-site/package.json +1 -1
- package/packages/theme-insurance-site/package.json +1 -1
- package/packages/theme-scenes/package.json +1 -1
- package/packages/theme-shinshu-site/package.json +1 -1
- package/packages/work-graph/package.json +1 -1
- package/protocol/models/README.md +3 -0
- package/protocol/receipts/agentsam.receipt.v1.json +95 -0
- package/protocol/theme-refinery/receipts/products-registry-batch-20260924.json +6 -6
- package/protocol/theme-refinery/receipts/theme-harvest-20260924.json +6 -6
- package/skills/README.md +3 -0
- package/src/acp/agent-executor.js +106 -0
- package/src/acp/client.js +316 -0
- package/src/acp/dependencies.js +426 -0
- package/src/acp/http.js +207 -0
- package/src/acp/index.js +22 -0
- package/src/acp/runs.js +125 -0
- package/src/acp/runtime-selection.js +180 -0
- package/src/cli/command-catalog.js +3 -0
- package/src/cli.js +24 -0
- package/src/commands/cloudflare-login.js +1 -1
- package/src/commands/cloudflare.js +2 -2
- package/src/commands/connections.js +1 -1
- package/src/commands/go.js +76 -6
- package/src/commands/merch.js +5 -0
- package/src/commands/mini.js +1 -1
- package/src/commands/receipts.js +140 -0
- package/src/commands/run.js +253 -0
- package/src/go/container.js +1 -1
- package/src/go/contract.js +61 -18
- package/src/go/discover.js +0 -4
- package/src/go/index.js +13 -1
- package/src/go/probe.js +109 -0
- package/src/go/{cloudflare.js → providers/cloudflare.js} +36 -136
- package/src/go/verify.js +1 -1
- package/src/indexing/ingest/inventory.js +1 -1
- package/src/lib/deploy/local-studio.js +2 -2
- package/src/lib/mini/scaffold.js +1 -1
- package/src/lib/whoami-capabilities.js +1 -1
- package/src/local/runtime-store.js +8 -0
- package/src/mcp/cloudflare-bundles.js +1 -1
- package/src/plugins/index.js +1 -0
- package/src/plugins/registry.js +59 -6
- package/src/receipts/contract.js +68 -0
- package/src/receipts/index.js +20 -0
- package/src/receipts/prune.js +64 -0
- package/src/receipts/sinks.js +285 -0
- package/templates/mini/gadget/app.js +15 -40
- package/templates/mini/gadget/index.html +7 -7
- package/templates/mini/shared/style.css +1 -1
- package/packages/agentsam-repository/src/goap.js.bak-20260922011251 +0 -670
- /package/packages/connectors/{cloudflare → cfoa}/OAUTH_STORAGE_AUDIT.md +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/api-client.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/capabilities.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/credential.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/families/brand-protection.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/families/keyless.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/families/pages.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/families/scanner.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/families/snippets.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/families/tag-gateway.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/families/tags.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/families/token-validation.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/families/vectorize.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/families/workflows.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/index.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/oauth-persist.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/owner.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/permission-options.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/routes.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/scope-catalog.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/src/vault.js +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/tests/capabilities.test.mjs +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/tests/connector.test.mjs +0 -0
- /package/packages/connectors/{cloudflare → cfoa}/tests/oauth-persist.test.mjs +0 -0
- /package/packages/identity/src/oauth/{google-desktop-exchange.js → goaude.js} +0 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
.agentsam-widget {
|
|
2
|
+
--widget-surface: var(--card, var(--dashboard-surface, rgba(20, 20, 24, 0.72)));
|
|
3
|
+
--widget-border: var(--border, var(--dashboard-border, rgba(127, 127, 140, 0.22)));
|
|
4
|
+
--widget-text: var(--foreground, var(--dashboard-text, currentColor));
|
|
5
|
+
--widget-muted: var(--muted-foreground, var(--dashboard-muted, color-mix(in srgb, currentColor 62%, transparent)));
|
|
6
|
+
--widget-accent: var(--primary, var(--dashboard-accent, #8b5cf6));
|
|
7
|
+
color: var(--widget-text);
|
|
8
|
+
background: var(--widget-surface);
|
|
9
|
+
border: 1px solid var(--widget-border);
|
|
10
|
+
border-radius: var(--dashboard-card-radius, 20px);
|
|
11
|
+
padding: 18px;
|
|
12
|
+
min-width: 0;
|
|
13
|
+
box-shadow: 0 16px 50px color-mix(in srgb, black 10%, transparent);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.agentsam-widget[data-widget-size="medium"] { padding: 22px; }
|
|
17
|
+
.agentsam-widget[data-widget-size="large"] { padding: 26px; }
|
|
18
|
+
|
|
19
|
+
.agentsam-widget__header {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: flex-start;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
gap: 16px;
|
|
24
|
+
margin-bottom: 14px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.agentsam-widget__heading { min-width: 0; }
|
|
28
|
+
.agentsam-widget__title {
|
|
29
|
+
margin: 0;
|
|
30
|
+
font: inherit;
|
|
31
|
+
font-weight: 600;
|
|
32
|
+
letter-spacing: -0.015em;
|
|
33
|
+
}
|
|
34
|
+
.agentsam-widget__description,
|
|
35
|
+
.agentsam-widget__message {
|
|
36
|
+
margin: 4px 0 0;
|
|
37
|
+
color: var(--widget-muted);
|
|
38
|
+
font-size: 0.8125rem;
|
|
39
|
+
line-height: 1.45;
|
|
40
|
+
}
|
|
41
|
+
.agentsam-widget__state {
|
|
42
|
+
flex: 0 0 auto;
|
|
43
|
+
border: 1px solid var(--widget-border);
|
|
44
|
+
border-radius: 999px;
|
|
45
|
+
padding: 3px 8px;
|
|
46
|
+
color: var(--widget-muted);
|
|
47
|
+
font-size: 0.6875rem;
|
|
48
|
+
letter-spacing: 0.02em;
|
|
49
|
+
text-transform: uppercase;
|
|
50
|
+
}
|
|
51
|
+
.agentsam-widget__body { min-width: 0; }
|
|
52
|
+
.agentsam-widget__actions {
|
|
53
|
+
display: flex;
|
|
54
|
+
gap: 8px;
|
|
55
|
+
margin-top: 14px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.agentsam-countdown {
|
|
59
|
+
display: grid;
|
|
60
|
+
gap: 14px;
|
|
61
|
+
}
|
|
62
|
+
.agentsam-countdown__time {
|
|
63
|
+
font-variant-numeric: tabular-nums;
|
|
64
|
+
font-size: clamp(2.8rem, 12vw, 5rem);
|
|
65
|
+
line-height: 1;
|
|
66
|
+
letter-spacing: -0.06em;
|
|
67
|
+
}
|
|
68
|
+
.agentsam-countdown[data-compact="true"] .agentsam-countdown__time {
|
|
69
|
+
font-size: clamp(2rem, 9vw, 3.2rem);
|
|
70
|
+
}
|
|
71
|
+
.agentsam-countdown__controls {
|
|
72
|
+
display: flex;
|
|
73
|
+
gap: 8px;
|
|
74
|
+
flex-wrap: wrap;
|
|
75
|
+
}
|
|
76
|
+
.agentsam-widget-button {
|
|
77
|
+
min-height: 40px;
|
|
78
|
+
border: 1px solid var(--widget-border);
|
|
79
|
+
border-radius: 10px;
|
|
80
|
+
padding: 8px 13px;
|
|
81
|
+
background: transparent;
|
|
82
|
+
color: inherit;
|
|
83
|
+
font: inherit;
|
|
84
|
+
font-size: 0.8125rem;
|
|
85
|
+
font-weight: 550;
|
|
86
|
+
cursor: pointer;
|
|
87
|
+
}
|
|
88
|
+
.agentsam-widget-button:hover { background: color-mix(in srgb, currentColor 6%, transparent); }
|
|
89
|
+
.agentsam-widget-button:focus-visible {
|
|
90
|
+
outline: 2px solid var(--widget-accent);
|
|
91
|
+
outline-offset: 2px;
|
|
92
|
+
}
|
|
93
|
+
.agentsam-widget-button--primary {
|
|
94
|
+
border-color: color-mix(in srgb, var(--widget-accent) 72%, transparent);
|
|
95
|
+
background: var(--widget-accent);
|
|
96
|
+
color: var(--primary-foreground, white);
|
|
97
|
+
}
|
|
98
|
+
.agentsam-countdown__status {
|
|
99
|
+
min-height: 1em;
|
|
100
|
+
color: var(--widget-muted);
|
|
101
|
+
font-size: 0.75rem;
|
|
102
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inneranimalmedia/agentsam-connector-cloudflare",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
16
|
"url": "git+https://github.com/SamPrimeaux/agentsam-sdk.git",
|
|
17
|
-
"directory": "packages/connectors/
|
|
17
|
+
"directory": "packages/connectors/cfoa"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"src"
|
|
21
21
|
],
|
|
22
|
-
"description": "Portable Cloudflare capability connector for AgentSam applications and SDK consumers.",
|
|
22
|
+
"description": "Portable Cloudflare capability connector for AgentSam applications and SDK consumers. Independent project; not affiliated with Cloudflare, Inc..",
|
|
23
23
|
"license": "MIT"
|
|
24
24
|
}
|
|
@@ -81,3 +81,6 @@ npx agentsam identity init --name my-app --brand "My App"
|
|
|
81
81
|
## IAM design lab
|
|
82
82
|
|
|
83
83
|
`inneranimalmedia/packages/agentsam-identity/` — contracts experiments only; **not** the package owner.
|
|
84
|
+
|
|
85
|
+
<!-- agentsam:trademark-notice -->
|
|
86
|
+
> Independent project. Not affiliated with, endorsed by, or sponsored by Cloudflare, Inc. or by any other company whose products are named here. Cloudflare is a registered trademark of Cloudflare, Inc. Other names are trademarks of their respective owners. See [TRADEMARKS](https://github.com/SamPrimeaux/agentsam-sdk/blob/main/TRADEMARKS.md).
|
|
@@ -26,3 +26,6 @@ import { finalizeInboundOAuth } from '@inneranimalmedia/agentsam-sdk/identity/oa
|
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
`finalizeInboundOAuth` is a contract stub in alpha — wire your Identity Service adapter before production OAuth.
|
|
29
|
+
|
|
30
|
+
<!-- agentsam:trademark-notice -->
|
|
31
|
+
> Independent project. Not affiliated with, endorsed by, or sponsored by any company whose products are named here. Names are trademarks of their respective owners. See [TRADEMARKS](https://github.com/SamPrimeaux/agentsam-sdk/blob/main/TRADEMARKS.md).
|
|
@@ -54,3 +54,6 @@ Serves production paths (`/auth/login`, `/auth/signup`, `/auth/reset`) with stub
|
|
|
54
54
|
| OAuth buttons | stub page + link to globe-exit demo |
|
|
55
55
|
|
|
56
56
|
Hub: `http://127.0.0.1:8791/` lists all entry points.
|
|
57
|
+
|
|
58
|
+
<!-- agentsam:trademark-notice -->
|
|
59
|
+
> Independent project. Not affiliated with, endorsed by, or sponsored by Cloudflare, Inc. or by any other company whose products are named here. Cloudflare is a registered trademark of Cloudflare, Inc. Other names are trademarks of their respective owners. See [TRADEMARKS](https://github.com/SamPrimeaux/agentsam-sdk/blob/main/TRADEMARKS.md).
|
|
@@ -111,7 +111,7 @@ export {
|
|
|
111
111
|
export {
|
|
112
112
|
handleGoogleDesktopExchangeRequest,
|
|
113
113
|
resolveGoogleExchangeSecret,
|
|
114
|
-
} from './oauth/
|
|
114
|
+
} from './oauth/goaude.js';
|
|
115
115
|
export { createCloudflareD1Adapter, createIamCompatIdentityAdapter } from './adapters/cloudflare-d1/index.js';
|
|
116
116
|
export {
|
|
117
117
|
createSqliteIdentityAdapter,
|
|
@@ -53,7 +53,10 @@ OIDC scopes: `openid profile email` (not a bespoke `identity:*` namespace).
|
|
|
53
53
|
## Code
|
|
54
54
|
|
|
55
55
|
- `credentials.js` — lane resolution
|
|
56
|
-
- `
|
|
56
|
+
- `goaude.js` — desktop PKCE token broker
|
|
57
57
|
- `providers/iam/` — IAM AS client (`getIamAuthUrl`, `exchangeIamCode`, `fetchIamProfile`)
|
|
58
58
|
- `iam-platform.js` — customer-worker start/callback wiring (uses `providers/iam/`)
|
|
59
59
|
- `pkce.js` — shared PKCE helpers
|
|
60
|
+
|
|
61
|
+
<!-- agentsam:trademark-notice -->
|
|
62
|
+
> Independent project. Not affiliated with, endorsed by, or sponsored by Cloudflare, Inc. or by any other company whose products are named here. Cloudflare is a registered trademark of Cloudflare, Inc. Other names are trademarks of their respective owners. See [TRADEMARKS](https://github.com/SamPrimeaux/agentsam-sdk/blob/main/TRADEMARKS.md).
|
|
@@ -110,7 +110,7 @@ export function resolveOAuthCredentialLane(env, provider) {
|
|
|
110
110
|
|
|
111
111
|
if (key === 'cloudflare') {
|
|
112
112
|
// Reuses the same Worker secrets as the Local Studio Cloudflare resource
|
|
113
|
-
// connector (packages/connectors/
|
|
113
|
+
// connector (packages/connectors/cfoa). clientSecret may be empty
|
|
114
114
|
// if that client is configured as PKCE-only (Token Authentication
|
|
115
115
|
// Method = None) — exchangeCloudflareCode() omits it in that case.
|
|
116
116
|
const clientId = String(env?.CLOUDFLARE_OAUTH_CLIENT_ID || '').trim();
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
GOOGLE_DESKTOP_LOGIN_EXCHANGE_PATH,
|
|
18
18
|
handleGoogleDesktopExchangeRequest,
|
|
19
19
|
handleGoogleDesktopLoginExchangeRequest,
|
|
20
|
-
} from '../oauth/
|
|
20
|
+
} from '../oauth/goaude.js';
|
|
21
21
|
import { iamPlatformOAuthCallback, iamPlatformOAuthStart } from '../oauth/iam-platform.js';
|
|
22
22
|
import { pkceChallenge, pkceVerifier, randomOAuthState } from '../oauth/pkce.js';
|
|
23
23
|
import {
|
|
@@ -2,7 +2,7 @@ import assert from 'node:assert/strict';
|
|
|
2
2
|
import test from 'node:test';
|
|
3
3
|
import {
|
|
4
4
|
handleGoogleDesktopLoginExchangeRequest,
|
|
5
|
-
} from '../src/oauth/
|
|
5
|
+
} from '../src/oauth/goaude.js';
|
|
6
6
|
|
|
7
7
|
const DESKTOP_ID = 'desktop-client.apps.googleusercontent.com';
|
|
8
8
|
|
|
@@ -170,7 +170,7 @@ console.log(JSON.stringify({ ok: true, schemaVersion: IDENTITY_STORE_SCHEMA_VERS
|
|
|
170
170
|
const depValues = Object.values(installedPkg.dependencies || {});
|
|
171
171
|
for (const v of depValues) {
|
|
172
172
|
assert.equal(String(v).startsWith('file:../'), false, v);
|
|
173
|
-
assert.equal(String(v)
|
|
173
|
+
assert.equal(/\/Users\/[^/]+\//.test(String(v)), false, v);
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
// Packed tarball must include portable SQL + manifest
|
|
@@ -4,7 +4,7 @@ import path from 'node:path';
|
|
|
4
4
|
import { describe, it } from 'node:test';
|
|
5
5
|
import { fileURLToPath } from 'node:url';
|
|
6
6
|
import { resolveOAuthCredentialLane } from '../src/oauth/credentials.js';
|
|
7
|
-
import { resolveGoogleExchangeSecret } from '../src/oauth/
|
|
7
|
+
import { resolveGoogleExchangeSecret } from '../src/oauth/goaude.js';
|
|
8
8
|
import { IdentityProviders } from '../src/contracts/provider.js';
|
|
9
9
|
import { loadIdentityProviders, normalizeProviderTemplateId } from '../../../src/features/resolve.js';
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inneranimalmedia/theme-harbor",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.11",
|
|
4
4
|
"description": "Real Chrystal Clear Insurance build — editorial insurance storefront with coverage storytelling and quote capture.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inneranimalmedia/theme-scenes",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.11",
|
|
4
4
|
"description": "Reusable scene / shell / block vocabulary for branded website experiences. BrandPack owns look; theme-scenes owns composition.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inneranimalmedia/agentsam-work-graph",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.11",
|
|
4
4
|
"description": "Core AgentSam work-graph primitive: one graph model (WorkItem, Dependency, TimelineEvent, Artifact, Evidence, Actor) powering an engineering adapter (git/MCP/tests/deploys) and a business adapter (projects/clients/approvals/milestones), with Gantt/timeline rendering as a pure projection over the graph rather than its own source of truth.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -371,3 +371,6 @@ What exact models can this account use?
|
|
|
371
371
|
What does the provider currently say each model can do and cost?
|
|
372
372
|
What exact provider/model/reasoning/tier actually handled this run?
|
|
373
373
|
```
|
|
374
|
+
|
|
375
|
+
<!-- agentsam:trademark-notice -->
|
|
376
|
+
> Independent project. Not affiliated with, endorsed by, or sponsored by Cloudflare, Inc. or by any other company whose products are named here. Cloudflare is a registered trademark of Cloudflare, Inc. Other names are trademarks of their respective owners. See [TRADEMARKS](https://github.com/SamPrimeaux/agentsam-sdk/blob/main/TRADEMARKS.md).
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.inneranimalmedia.com/agentsam/schemas/agentsam.receipt.v1.json",
|
|
4
|
+
"title": "AgentSam Receipt Envelope v1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"$schema",
|
|
8
|
+
"schema",
|
|
9
|
+
"receipt_id",
|
|
10
|
+
"kind",
|
|
11
|
+
"status",
|
|
12
|
+
"retention_class",
|
|
13
|
+
"identity",
|
|
14
|
+
"metrics",
|
|
15
|
+
"evidence",
|
|
16
|
+
"payload"
|
|
17
|
+
],
|
|
18
|
+
"properties": {
|
|
19
|
+
"$schema": {
|
|
20
|
+
"const": "https://schemas.inneranimalmedia.com/agentsam/schemas/agentsam.receipt.v1.json"
|
|
21
|
+
},
|
|
22
|
+
"schema": { "const": "agentsam.receipt.v1" },
|
|
23
|
+
"receipt_id": { "type": "string", "minLength": 1 },
|
|
24
|
+
"kind": { "type": "string", "minLength": 1 },
|
|
25
|
+
"status": { "enum": ["passed", "failed", "skipped"] },
|
|
26
|
+
"retention_class": {
|
|
27
|
+
"enum": ["ephemeral_success", "failure_bundle", "release_proof"]
|
|
28
|
+
},
|
|
29
|
+
"identity": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"required": ["account_id"],
|
|
32
|
+
"properties": {
|
|
33
|
+
"account_id": { "type": "string", "minLength": 1 },
|
|
34
|
+
"repository_id": { "type": "string" },
|
|
35
|
+
"git_sha": { "type": "string" },
|
|
36
|
+
"run_id": { "type": "string" },
|
|
37
|
+
"pty_session_id": { "type": "string" }
|
|
38
|
+
},
|
|
39
|
+
"additionalProperties": true
|
|
40
|
+
},
|
|
41
|
+
"metrics": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"required": [
|
|
44
|
+
"created_at_unix",
|
|
45
|
+
"duration_ms",
|
|
46
|
+
"workspace_byte_size",
|
|
47
|
+
"receipt_byte_size"
|
|
48
|
+
],
|
|
49
|
+
"properties": {
|
|
50
|
+
"created_at_unix": { "type": "integer", "minimum": 0 },
|
|
51
|
+
"duration_ms": { "type": "number", "minimum": 0 },
|
|
52
|
+
"workspace_byte_size": { "type": "integer", "minimum": 0 },
|
|
53
|
+
"receipt_byte_size": { "type": "integer", "minimum": 0 }
|
|
54
|
+
},
|
|
55
|
+
"additionalProperties": true
|
|
56
|
+
},
|
|
57
|
+
"evidence": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"required": ["summary", "artifacts"],
|
|
60
|
+
"properties": {
|
|
61
|
+
"summary": { "type": "object" },
|
|
62
|
+
"artifacts": {
|
|
63
|
+
"type": "array",
|
|
64
|
+
"items": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"required": ["role", "sha256", "r2_key", "byte_size"],
|
|
67
|
+
"properties": {
|
|
68
|
+
"role": { "type": "string", "minLength": 1 },
|
|
69
|
+
"sha256": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"pattern": "^[a-fA-F0-9]{32,128}$"
|
|
72
|
+
},
|
|
73
|
+
"r2_key": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"pattern": "^agentsam/runtime/blobs/sha256/"
|
|
76
|
+
},
|
|
77
|
+
"byte_size": { "type": "integer", "minimum": 0 }
|
|
78
|
+
},
|
|
79
|
+
"additionalProperties": true
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"additionalProperties": true
|
|
84
|
+
},
|
|
85
|
+
"payload": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"required": ["schema"],
|
|
88
|
+
"properties": {
|
|
89
|
+
"schema": { "type": "string", "minLength": 1 }
|
|
90
|
+
},
|
|
91
|
+
"additionalProperties": true
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"additionalProperties": true
|
|
95
|
+
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"metadata": {
|
|
11
11
|
"origin": "machine_harvest",
|
|
12
12
|
"donor_name": "New Iberia Church of Christ",
|
|
13
|
-
"source_path": "
|
|
13
|
+
"source_path": "local-donor://Library/Mobile Documents/com~apple~CloudDocs/Projects/Cloudflare/NewIberiaChurchofChrist",
|
|
14
14
|
"harvest_batch": "theme-harvest-20260924",
|
|
15
15
|
"normalization_state": "portable-preview",
|
|
16
16
|
"source_hash": "0a8ae5de768f874ccdebe92a5e438ad8e4d51b4c5fdae9679c7e09268328fee6",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"metadata": {
|
|
58
58
|
"origin": "machine_harvest",
|
|
59
59
|
"donor_name": "Companions of Caddo",
|
|
60
|
-
"source_path": "
|
|
60
|
+
"source_path": "local-donor://companionscpas/static",
|
|
61
61
|
"harvest_batch": "theme-harvest-20260924",
|
|
62
62
|
"normalization_state": "portable-preview",
|
|
63
63
|
"source_hash": "cdad95d1a674b05456a6166f9fc70d86dce106d4215395601164ec40ac161f7b",
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"metadata": {
|
|
150
150
|
"origin": "machine_harvest",
|
|
151
151
|
"donor_name": "Fuel & Free Time",
|
|
152
|
-
"source_path": "
|
|
152
|
+
"source_path": "local-donor://fuelnfreetime/legacy",
|
|
153
153
|
"harvest_batch": "theme-harvest-20260924",
|
|
154
154
|
"normalization_state": "portable-preview",
|
|
155
155
|
"source_hash": "5ea35182b99816b9cb137a15f6ce7c361bfa932010759d3ac5bf74b1083895cf",
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
"metadata": {
|
|
196
196
|
"origin": "machine_harvest",
|
|
197
197
|
"donor_name": "Primeaux Handyman Services",
|
|
198
|
-
"source_path": "
|
|
198
|
+
"source_path": "worktree://primeaux-handyman-services-agent/dist",
|
|
199
199
|
"harvest_batch": "theme-harvest-20260924",
|
|
200
200
|
"normalization_state": "portable-preview",
|
|
201
201
|
"source_hash": "36a5a147cd70c0523a50466fad113cc265ee22a571e98b2fd67fde15ee795ea4",
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
"metadata": {
|
|
239
239
|
"origin": "machine_harvest",
|
|
240
240
|
"donor_name": "Chrystal Clear Insurance",
|
|
241
|
-
"source_path": "
|
|
241
|
+
"source_path": "local-donor://Projects/client-demos/chrystal-clear-insurance/chrystal-clear-insurance/dist",
|
|
242
242
|
"harvest_batch": "theme-harvest-20260924",
|
|
243
243
|
"normalization_state": "portable-preview",
|
|
244
244
|
"source_hash": "1e171081f5a06d7568554aedcc6a17fd17f102b4109e9b543895fca3879606c2",
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
"metadata": {
|
|
282
282
|
"origin": "machine_harvest",
|
|
283
283
|
"donor_name": "Shinshu Solutions",
|
|
284
|
-
"source_path": "
|
|
284
|
+
"source_path": "local-donor://IAM-Library/01_Template_Candidates/MEAUXIDERANDOMBUILDS/06_shinshu_static_site_archive/source/shinshu-solutions/static",
|
|
285
285
|
"harvest_batch": "theme-harvest-20260924",
|
|
286
286
|
"normalization_state": "portable-preview",
|
|
287
287
|
"source_hash": "dbe669910cbee05028a7113c2e1f72d0d964f8898d48130f67c5955fbbbc978e",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"metadata": {
|
|
108
108
|
"origin": "machine_harvest",
|
|
109
109
|
"donor_name": "New Iberia Church of Christ",
|
|
110
|
-
"source_path": "
|
|
110
|
+
"source_path": "local-donor://Library/Mobile Documents/com~apple~CloudDocs/Projects/Cloudflare/NewIberiaChurchofChrist",
|
|
111
111
|
"harvest_batch": "theme-harvest-20260924",
|
|
112
112
|
"normalization_state": "portable-preview",
|
|
113
113
|
"source_hash": "0a8ae5de768f874ccdebe92a5e438ad8e4d51b4c5fdae9679c7e09268328fee6",
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"metadata": {
|
|
164
164
|
"origin": "machine_harvest",
|
|
165
165
|
"donor_name": "Companions of Caddo",
|
|
166
|
-
"source_path": "
|
|
166
|
+
"source_path": "local-donor://companionscpas/static",
|
|
167
167
|
"harvest_batch": "theme-harvest-20260924",
|
|
168
168
|
"normalization_state": "portable-preview",
|
|
169
169
|
"source_hash": "cdad95d1a674b05456a6166f9fc70d86dce106d4215395601164ec40ac161f7b",
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
"metadata": {
|
|
274
274
|
"origin": "machine_harvest",
|
|
275
275
|
"donor_name": "Fuel & Free Time",
|
|
276
|
-
"source_path": "
|
|
276
|
+
"source_path": "local-donor://fuelnfreetime/legacy",
|
|
277
277
|
"harvest_batch": "theme-harvest-20260924",
|
|
278
278
|
"normalization_state": "portable-preview",
|
|
279
279
|
"source_hash": "5ea35182b99816b9cb137a15f6ce7c361bfa932010759d3ac5bf74b1083895cf",
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
"metadata": {
|
|
329
329
|
"origin": "machine_harvest",
|
|
330
330
|
"donor_name": "Primeaux Handyman Services",
|
|
331
|
-
"source_path": "
|
|
331
|
+
"source_path": "worktree://primeaux-handyman-services-agent/dist",
|
|
332
332
|
"harvest_batch": "theme-harvest-20260924",
|
|
333
333
|
"normalization_state": "portable-preview",
|
|
334
334
|
"source_hash": "36a5a147cd70c0523a50466fad113cc265ee22a571e98b2fd67fde15ee795ea4",
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
"metadata": {
|
|
381
381
|
"origin": "machine_harvest",
|
|
382
382
|
"donor_name": "Chrystal Clear Insurance",
|
|
383
|
-
"source_path": "
|
|
383
|
+
"source_path": "local-donor://Projects/client-demos/chrystal-clear-insurance/chrystal-clear-insurance/dist",
|
|
384
384
|
"harvest_batch": "theme-harvest-20260924",
|
|
385
385
|
"normalization_state": "portable-preview",
|
|
386
386
|
"source_hash": "1e171081f5a06d7568554aedcc6a17fd17f102b4109e9b543895fca3879606c2",
|
|
@@ -432,7 +432,7 @@
|
|
|
432
432
|
"metadata": {
|
|
433
433
|
"origin": "machine_harvest",
|
|
434
434
|
"donor_name": "Shinshu Solutions",
|
|
435
|
-
"source_path": "
|
|
435
|
+
"source_path": "local-donor://IAM-Library/01_Template_Candidates/MEAUXIDERANDOMBUILDS/06_shinshu_static_site_archive/source/shinshu-solutions/static",
|
|
436
436
|
"harvest_batch": "theme-harvest-20260924",
|
|
437
437
|
"normalization_state": "portable-preview",
|
|
438
438
|
"source_hash": "dbe669910cbee05028a7113c2e1f72d0d964f8898d48130f67c5955fbbbc978e",
|
package/skills/README.md
CHANGED
|
@@ -32,3 +32,6 @@ be confused with D1 `agentsam_skill` rows or `agentsam_tools`.
|
|
|
32
32
|
|
|
33
33
|
Apps may contain host-specific skill directories of their own. Those do not
|
|
34
34
|
replace the portable SDK skills in this directory.
|
|
35
|
+
|
|
36
|
+
<!-- agentsam:trademark-notice -->
|
|
37
|
+
> Independent project. Not affiliated with, endorsed by, or sponsored by Cloudflare, Inc. or by any other company whose products are named here. Cloudflare is a registered trademark of Cloudflare, Inc. Other names are trademarks of their respective owners. See [TRADEMARKS](https://github.com/SamPrimeaux/agentsam-sdk/blob/main/TRADEMARKS.md).
|