agentskeptic 0.1.7 → 0.1.9
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 -3
- package/dist/bootstrap/bootstrapPackSynthesis.d.ts +4 -0
- package/dist/bootstrap/bootstrapPackSynthesis.d.ts.map +1 -0
- package/dist/bootstrap/bootstrapPackSynthesis.js +3 -0
- package/dist/bootstrap/bootstrapPackSynthesis.js.map +1 -0
- package/dist/ciLockWorkflow.d.ts +67 -2
- package/dist/ciLockWorkflow.d.ts.map +1 -1
- package/dist/ciLockWorkflow.js +144 -131
- package/dist/ciLockWorkflow.js.map +1 -1
- package/dist/cli/lockOrchestration.d.ts +26 -0
- package/dist/cli/lockOrchestration.d.ts.map +1 -0
- package/dist/cli/lockOrchestration.js +562 -0
- package/dist/cli/lockOrchestration.js.map +1 -0
- package/dist/cli/lockOrchestration.test.d.ts +2 -0
- package/dist/cli/lockOrchestration.test.d.ts.map +1 -0
- package/dist/cli/lockOrchestration.test.js +99 -0
- package/dist/cli/lockOrchestration.test.js.map +1 -0
- package/dist/cli.js +8 -36
- package/dist/cli.js.map +1 -1
- package/dist/commercial/licensePreflight.test.js +3 -3
- package/dist/commercial/licensePreflight.test.js.map +1 -1
- package/dist/commercial/verifyWorkloadClassify.test.js +12 -0
- package/dist/commercial/verifyWorkloadClassify.test.js.map +1 -1
- package/dist/discovery-payload-v1.json +2 -1
- package/dist/enforceCli.d.ts.map +1 -1
- package/dist/enforceCli.js +8 -28
- package/dist/enforceCli.js.map +1 -1
- package/dist/publicDistribution.generated.d.ts +1 -1
- package/dist/publicDistribution.generated.js +1 -1
- package/dist/registryDraft/buildRegistryDraftPrompt.d.ts +5 -0
- package/dist/registryDraft/buildRegistryDraftPrompt.d.ts.map +1 -0
- package/dist/registryDraft/buildRegistryDraftPrompt.js +30 -0
- package/dist/registryDraft/buildRegistryDraftPrompt.js.map +1 -0
- package/dist/registryDraft/buildRegistryDraftPrompt.test.d.ts +2 -0
- package/dist/registryDraft/buildRegistryDraftPrompt.test.d.ts.map +1 -0
- package/dist/registryDraft/buildRegistryDraftPrompt.test.js +13 -0
- package/dist/registryDraft/buildRegistryDraftPrompt.test.js.map +1 -0
- package/dist/registryDraft/createRegistryDraftAjv.d.ts +10 -0
- package/dist/registryDraft/createRegistryDraftAjv.d.ts.map +1 -0
- package/dist/registryDraft/createRegistryDraftAjv.js +71 -0
- package/dist/registryDraft/createRegistryDraftAjv.js.map +1 -0
- package/dist/registryDraft/index.d.ts +6 -0
- package/dist/registryDraft/index.d.ts.map +1 -0
- package/dist/registryDraft/index.js +5 -0
- package/dist/registryDraft/index.js.map +1 -0
- package/dist/registryDraft/normalizeOpenAiToolCallsToBootstrapPackInput.d.ts +8 -0
- package/dist/registryDraft/normalizeOpenAiToolCallsToBootstrapPackInput.d.ts.map +1 -0
- package/dist/registryDraft/normalizeOpenAiToolCallsToBootstrapPackInput.js +19 -0
- package/dist/registryDraft/normalizeOpenAiToolCallsToBootstrapPackInput.js.map +1 -0
- package/dist/registryDraft/parseAndNormalizeRegistryDraftRequest.d.ts +15 -0
- package/dist/registryDraft/parseAndNormalizeRegistryDraftRequest.d.ts.map +1 -0
- package/dist/registryDraft/parseAndNormalizeRegistryDraftRequest.js +34 -0
- package/dist/registryDraft/parseAndNormalizeRegistryDraftRequest.js.map +1 -0
- package/dist/schemaLoad.d.ts +1 -1
- package/dist/schemaLoad.d.ts.map +1 -1
- package/dist/schemaLoad.js +3 -0
- package/dist/schemaLoad.js.map +1 -1
- package/dist/telemetry/postProductActivationEvent.d.ts.map +1 -1
- package/dist/telemetry/postProductActivationEvent.js +5 -0
- package/dist/telemetry/postProductActivationEvent.js.map +1 -1
- package/dist/telemetry/postProductActivationEvent.test.js +33 -0
- package/dist/telemetry/postProductActivationEvent.test.js.map +1 -1
- package/dist/telemetry/verificationHypothesisContract.d.ts +18 -0
- package/dist/telemetry/verificationHypothesisContract.d.ts.map +1 -0
- package/dist/telemetry/verificationHypothesisContract.js +39 -0
- package/dist/telemetry/verificationHypothesisContract.js.map +1 -0
- package/dist/wrongWorkflowIdAdoptionFixture.test.d.ts +2 -0
- package/dist/wrongWorkflowIdAdoptionFixture.test.d.ts.map +1 -0
- package/dist/{noStepsMessage.test.js → wrongWorkflowIdAdoptionFixture.test.js} +12 -1
- package/dist/wrongWorkflowIdAdoptionFixture.test.js.map +1 -0
- package/package.json +15 -5
- package/schemas/bootstrap-pack-input-v1.schema.json +1 -16
- package/schemas/openai-function-tool-call-item-v1.schema.json +21 -0
- package/schemas/registry-draft-request-v1.schema.json +49 -0
- package/schemas/registry-draft-response-v1.schema.json +39 -0
- package/scripts/discovery-payload.lib.cjs +6 -0
- package/dist/loadEvents.eventFileAggregateCounts.test.d.ts +0 -2
- package/dist/loadEvents.eventFileAggregateCounts.test.d.ts.map +0 -1
- package/dist/loadEvents.eventFileAggregateCounts.test.js +0 -18
- package/dist/loadEvents.eventFileAggregateCounts.test.js.map +0 -1
- package/dist/noStepsMessage.test.d.ts +0 -2
- package/dist/noStepsMessage.test.d.ts.map +0 -1
- package/dist/noStepsMessage.test.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentskeptic",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "Traces say success while rows are missing or wrong. AgentSkeptic runs read-only SQL at verification time on Postgres or SQLite—ground truth from structured tool activity, not trace color alone.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -11,6 +11,12 @@
|
|
|
11
11
|
"bin": {
|
|
12
12
|
"agentskeptic": "dist/cli.js"
|
|
13
13
|
},
|
|
14
|
+
"exports": {
|
|
15
|
+
".": "./dist/index.js",
|
|
16
|
+
"./registryDraft": "./dist/registryDraft/index.js",
|
|
17
|
+
"./bootstrapPackSynthesis": "./dist/bootstrap/bootstrapPackSynthesis.js",
|
|
18
|
+
"./verificationHypothesisContract": "./dist/telemetry/verificationHypothesisContract.js"
|
|
19
|
+
},
|
|
14
20
|
"scripts": {
|
|
15
21
|
"prepublishOnly": "node scripts/build-commercial.mjs",
|
|
16
22
|
"build": "node scripts/write-commercial-build-flags.mjs --oss && node scripts/sync-failure-origin-from-schema.mjs && tsc && node scripts/copy-debug-ui.mjs && node scripts/write-discovery-payload.mjs",
|
|
@@ -18,7 +24,7 @@
|
|
|
18
24
|
"start": "npm run build && node scripts/demo.mjs",
|
|
19
25
|
"dev": "npm run dev -w agentskeptic-web",
|
|
20
26
|
"test:vitest": "vitest run",
|
|
21
|
-
"test:node:sqlite": "node scripts/assert-dependency-security-pins.mjs && node --test --test-force-exit test/reconciler.sqlite.test.mjs test/pipeline.sqlite.test.mjs test/withWorkflowVerification.test.mjs test/workflowTruthReport.test.mjs test/cli.test.mjs test/post-product-activation-install-id.test.mjs test/resolve-telemetry-source.test.mjs test/github-workflows-agentskeptic-telemetry-env.test.mjs test/maybe-emit-oss-claim-telemetry-off.test.mjs test/first-run-verify-output.integration.test.mjs test/stable-failure-consistency.test.mjs test/workflow-result-consumer-contract.test.mjs test/workflow-result-stdout-version.test.mjs test/docs-relational-ssot.test.mjs test/tools-registry-relational-surface.test.mjs test/docs-contract.test.mjs test/docs-commercial-enforce-gate-normative.test.mjs test/docs-remediation-doctrine.test.mjs test/bundle-signature-fixture.test.mjs test/bundle-signature-codes-doc.test.mjs test/bundle-signature-cli-write.test.mjs test/quick-verify.sqlite.test.mjs test/bootstrap-pack.test.mjs test/quickVerifyPostbuildGate.test.mjs test/npm-scripts-contract.test.mjs test/langgraph-reference-emitter-before-cli-spawn.test.mjs test/removed-script-names-ban.test.mjs test/docs-workflow-result-normative-prose.test.mjs test/enforce-oss-forbidden.test.mjs test/docs-enforce-stream-contract.test.mjs test/docs-quick-enforce-link.test.mjs test/commercial-pricing-policy-parity.test.mjs test/distribution-requirement-clauses.test.mjs test/distribution-traceability-literals.test.mjs test/distribution-ssot-clause-coverage.test.mjs test/distribution-consumer-pipeline.test.mjs test/discovery-payload.test.mjs test/redaction-rules.test.mjs test/indexable-guide-paths-fs.contract.test.mjs test/npm-pack-discovery-scripts.test.mjs test/registry-metadata-parity.test.mjs test/docs-related-exists-export-ssot-negative.mjs test/quick-param-pointer
|
|
27
|
+
"test:node:sqlite": "node scripts/assert-dependency-security-pins.mjs && node --test --test-force-exit test/reconciler.sqlite.test.mjs test/pipeline.sqlite.test.mjs test/withWorkflowVerification.test.mjs test/workflowTruthReport.test.mjs test/cli.test.mjs test/post-product-activation-install-id.test.mjs test/resolve-telemetry-source.test.mjs test/github-workflows-agentskeptic-telemetry-env.test.mjs test/maybe-emit-oss-claim-telemetry-off.test.mjs test/first-run-verify-output.integration.test.mjs test/stable-failure-consistency.test.mjs test/workflow-result-consumer-contract.test.mjs test/workflow-result-stdout-version.test.mjs test/docs-relational-ssot.test.mjs test/tools-registry-relational-surface.test.mjs test/docs-contract.test.mjs test/docs-commercial-enforce-gate-normative.test.mjs test/docs-remediation-doctrine.test.mjs test/bundle-signature-fixture.test.mjs test/bundle-signature-codes-doc.test.mjs test/bundle-signature-cli-write.test.mjs test/quick-verify.sqlite.test.mjs test/bootstrap-pack.test.mjs test/quickVerifyPostbuildGate.test.mjs test/npm-scripts-contract.test.mjs test/langgraph-reference-emitter-before-cli-spawn.test.mjs test/removed-script-names-ban.test.mjs test/docs-workflow-result-normative-prose.test.mjs test/enforce-oss-forbidden.test.mjs test/oss-output-lock-batch.test.mjs test/lock-success-monetized-footer.integration.test.mjs test/docs-enforce-stream-contract.test.mjs test/docs-quick-enforce-link.test.mjs test/commercial-pricing-policy-parity.test.mjs test/distribution-requirement-clauses.test.mjs test/distribution-traceability-literals.test.mjs test/distribution-ssot-clause-coverage.test.mjs test/distribution-consumer-pipeline.test.mjs test/discovery-payload.test.mjs test/redaction-rules.test.mjs test/indexable-guide-paths-fs.contract.test.mjs test/npm-pack-discovery-scripts.test.mjs test/registry-metadata-parity.test.mjs test/docs-related-exists-export-ssot-negative.mjs test/quick-param-pointer.gates.test.mjs test/dependency-security-pins.schema.contract.test.mjs test/drizzle-identifier-safety.contract.test.mjs test/assert-destructive-postgres-urls.test.mjs test/readme-wedge-inevitability.test.mjs",
|
|
22
28
|
"test:postgres": "node scripts/pg-ci-init.mjs && node --test --test-force-exit test/postgres-session-readonly.test.mjs test/postgres-privilege.test.mjs test/pipeline.postgres.test.mjs test/ci-workflow-truth-postgres-contract.test.mjs test/quick-verify.postgres.test.mjs",
|
|
23
29
|
"test:workflow-truth-contract": "node --test --test-force-exit test/ci-workflow-truth-postgres-contract.test.mjs",
|
|
24
30
|
"validate-ttfv": "node scripts/validate-ttfv.mjs",
|
|
@@ -33,13 +39,17 @@
|
|
|
33
39
|
"migrate:workflow-result-v15": "npm run build && node scripts/migrate-workflow-result-v15.mjs",
|
|
34
40
|
"check:commercial-ssot": "node scripts/check-commercial-plans-ssot.mjs",
|
|
35
41
|
"stripe-bootstrap": "node scripts/stripe-bootstrap.mjs",
|
|
42
|
+
"export:telemetry-daily-pack": "node scripts/export-telemetry-daily-pack.mjs",
|
|
36
43
|
"validate-commercial": "node scripts/validate-commercial-funnel.mjs",
|
|
37
44
|
"pack-smoke": "node scripts/pack-smoke-commercial.mjs",
|
|
38
|
-
"sync:public-product-anchors": "node scripts/public-product-anchors.cjs",
|
|
45
|
+
"sync:public-product-anchors": "node scripts/public-product-anchors.cjs && node scripts/assert-discovery-public-files.mjs",
|
|
39
46
|
"distribution:consumer-pipeline": "node scripts/distribution-consumer-pipeline.mjs",
|
|
40
47
|
"check:discovery-acquisition": "node scripts/validate-discovery-acquisition.mjs",
|
|
41
|
-
"verify:web-marketing-copy": "node scripts/
|
|
48
|
+
"verify:web-marketing-copy": "node scripts/run-verify-web-marketing-copy.mjs",
|
|
42
49
|
"check:public-product-anchors": "node scripts/public-product-anchors.cjs --check",
|
|
50
|
+
"generate:integrate-activation-shell": "node scripts/generate-integrate-activation-shell.mjs",
|
|
51
|
+
"check:integrate-activation-shell": "node scripts/generate-integrate-activation-shell.mjs --check",
|
|
52
|
+
"validate:activation-spine": "node scripts/validate-activation-spine.mjs",
|
|
43
53
|
"test:commercial-layer": "node scripts/validate-commercial-funnel.mjs",
|
|
44
54
|
"build:website": "npm run build && npm run build -w agentskeptic-web",
|
|
45
55
|
"check:web-demo-prereqs": "node scripts/check-web-demo-prereqs.mjs",
|
|
@@ -61,7 +71,7 @@
|
|
|
61
71
|
"@types/picomatch": "^4.0.3",
|
|
62
72
|
"stripe": "^17.5.0",
|
|
63
73
|
"typescript": "^5.7.2",
|
|
64
|
-
"vitest": "^
|
|
74
|
+
"vitest": "^4.1.4"
|
|
65
75
|
},
|
|
66
76
|
"dependencies": {
|
|
67
77
|
"ajv": "^8.17.1",
|
|
@@ -32,22 +32,7 @@
|
|
|
32
32
|
"tool_calls": {
|
|
33
33
|
"type": "array",
|
|
34
34
|
"items": {
|
|
35
|
-
"
|
|
36
|
-
"required": ["id", "type", "function"],
|
|
37
|
-
"additionalProperties": false,
|
|
38
|
-
"properties": {
|
|
39
|
-
"id": { "type": "string", "minLength": 1 },
|
|
40
|
-
"type": { "type": "string", "const": "function" },
|
|
41
|
-
"function": {
|
|
42
|
-
"type": "object",
|
|
43
|
-
"required": ["name", "arguments"],
|
|
44
|
-
"additionalProperties": false,
|
|
45
|
-
"properties": {
|
|
46
|
-
"name": { "type": "string", "minLength": 1 },
|
|
47
|
-
"arguments": { "type": "string" }
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
35
|
+
"$ref": "https://agentskeptic.com/schemas/openai-function-tool-call-item-v1.schema.json"
|
|
51
36
|
}
|
|
52
37
|
}
|
|
53
38
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://agentskeptic.com/schemas/openai-function-tool-call-item-v1.schema.json",
|
|
4
|
+
"title": "OpenAiFunctionToolCallItemV1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["id", "type", "function"],
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"properties": {
|
|
9
|
+
"id": { "type": "string", "minLength": 1 },
|
|
10
|
+
"type": { "type": "string", "const": "function" },
|
|
11
|
+
"function": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"required": ["name", "arguments"],
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"properties": {
|
|
16
|
+
"name": { "type": "string", "minLength": 1 },
|
|
17
|
+
"arguments": { "type": "string" }
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://agentskeptic.com/schemas/registry-draft-request-v1.schema.json",
|
|
4
|
+
"title": "RegistryDraftRequestV1",
|
|
5
|
+
"oneOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"required": ["inputKind", "schemaVersion", "bootstrapPackInput"],
|
|
10
|
+
"properties": {
|
|
11
|
+
"inputKind": { "const": "bootstrap_pack_v1" },
|
|
12
|
+
"schemaVersion": { "type": "integer", "const": 1 },
|
|
13
|
+
"ddlHint": { "$ref": "#/$defs/ddlHint" },
|
|
14
|
+
"bootstrapPackInput": {
|
|
15
|
+
"$ref": "https://agentskeptic.com/schemas/bootstrap-pack-input-v1.schema.json"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "object",
|
|
21
|
+
"additionalProperties": false,
|
|
22
|
+
"required": ["inputKind", "schemaVersion", "workflowId", "tool_calls"],
|
|
23
|
+
"properties": {
|
|
24
|
+
"inputKind": { "const": "openai_tool_calls_v1" },
|
|
25
|
+
"schemaVersion": { "type": "integer", "const": 1 },
|
|
26
|
+
"workflowId": { "$ref": "#/$defs/workflowId" },
|
|
27
|
+
"ddlHint": { "$ref": "#/$defs/ddlHint" },
|
|
28
|
+
"tool_calls": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"minItems": 1,
|
|
31
|
+
"items": {
|
|
32
|
+
"$ref": "https://agentskeptic.com/schemas/openai-function-tool-call-item-v1.schema.json"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"$defs": {
|
|
39
|
+
"workflowId": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"pattern": "^[a-zA-Z0-9_-]{1,128}$"
|
|
42
|
+
},
|
|
43
|
+
"ddlHint": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"maxLength": 8192,
|
|
46
|
+
"pattern": "^(?!.*://)[\\s\\S]*$"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://agentskeptic.com/schemas/registry-draft-response-v1.schema.json",
|
|
4
|
+
"title": "RegistryDraftResponseEnvelopeV1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schemaVersion", "draft", "assumptions", "warnings", "disclaimer", "model"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schemaVersion": { "type": "integer", "const": 1 },
|
|
10
|
+
"draft": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"additionalProperties": false,
|
|
13
|
+
"required": ["tools"],
|
|
14
|
+
"properties": {
|
|
15
|
+
"tools": {
|
|
16
|
+
"$ref": "https://agentskeptic.com/schemas/tools-registry.schema.json"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"assumptions": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"items": { "type": "string" }
|
|
23
|
+
},
|
|
24
|
+
"warnings": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": { "type": "string" }
|
|
27
|
+
},
|
|
28
|
+
"disclaimer": { "type": "string", "minLength": 1 },
|
|
29
|
+
"model": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"additionalProperties": false,
|
|
32
|
+
"required": ["provider", "model"],
|
|
33
|
+
"properties": {
|
|
34
|
+
"provider": { "type": "string", "const": "openai" },
|
|
35
|
+
"model": { "type": "string", "minLength": 1 }
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -94,6 +94,7 @@ function buildDiscoveryPayload(root) {
|
|
|
94
94
|
const anchors = JSON.parse(readFileSync(anchorsPath, "utf8"));
|
|
95
95
|
const canonicalOrigin = normalizeOrigin(anchors.productionCanonicalOrigin);
|
|
96
96
|
const integrateUrl = `${canonicalOrigin}/integrate`;
|
|
97
|
+
const learnHubUrl = `${canonicalOrigin}/guides`;
|
|
97
98
|
const openapiSelfCanonical = `${canonicalOrigin}/openapi-commercial-v1.yaml`;
|
|
98
99
|
const { owner, repo } = parseGithubRepoFromUrl(anchors.gitRepositoryUrl);
|
|
99
100
|
const llmsRaw = `https://raw.githubusercontent.com/${owner}/${repo}/refs/heads/${DISCOVERY_LLM_BRANCH}/llms.txt`;
|
|
@@ -110,6 +111,7 @@ function buildDiscoveryPayload(root) {
|
|
|
110
111
|
links: {
|
|
111
112
|
site: `${canonicalOrigin}/`,
|
|
112
113
|
integrate: integrateUrl,
|
|
114
|
+
learnHub: learnHubUrl,
|
|
113
115
|
openapiCanonical: openapiSelfCanonical,
|
|
114
116
|
openapiRaw,
|
|
115
117
|
repo: String(anchors.gitRepositoryUrl),
|
|
@@ -176,6 +178,7 @@ function renderLlmsTextFromPayload(payload) {
|
|
|
176
178
|
};
|
|
177
179
|
const canonicalOrigin = links.site.replace(/\/$/, "");
|
|
178
180
|
const integrateUrl = links.integrate;
|
|
181
|
+
const learnHubUrl = links.learnHub;
|
|
179
182
|
const openapiSelfCanonical = links.openapiCanonical;
|
|
180
183
|
const lines = [
|
|
181
184
|
"# AgentSkeptic",
|
|
@@ -186,6 +189,7 @@ function renderLlmsTextFromPayload(payload) {
|
|
|
186
189
|
"## Primary links",
|
|
187
190
|
`- Canonical site: ${links.site}`,
|
|
188
191
|
`- First-run integration: ${integrateUrl}`,
|
|
192
|
+
`- Learn: ${learnHubUrl}`,
|
|
189
193
|
`- OpenAPI (canonical): ${openapiSelfCanonical}`,
|
|
190
194
|
`- OpenAPI (repo raw): ${links.openapiRaw}`,
|
|
191
195
|
`- Source repository: ${links.repo}`,
|
|
@@ -213,6 +217,7 @@ function renderCiSummaryMarkdownFromPayload(payload) {
|
|
|
213
217
|
"",
|
|
214
218
|
"- Canonical site: " + L.site,
|
|
215
219
|
"- Integrate: " + L.integrate,
|
|
220
|
+
"- Learn: " + L.learnHub,
|
|
216
221
|
"- OpenAPI: " + L.openapiCanonical,
|
|
217
222
|
"- OpenAPI (repo raw): " + L.openapiRaw,
|
|
218
223
|
"- Repository: " + L.repo,
|
|
@@ -272,6 +277,7 @@ ${String(payload.identityOneLiner)}
|
|
|
272
277
|
"",
|
|
273
278
|
"- " + L.site,
|
|
274
279
|
"- " + L.integrate,
|
|
280
|
+
"- " + L.learnHub,
|
|
275
281
|
"- " + L.repo,
|
|
276
282
|
"",
|
|
277
283
|
PR_MARKER_LINE,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loadEvents.eventFileAggregateCounts.test.d.ts","sourceRoot":"","sources":["../src/loadEvents.eventFileAggregateCounts.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { dirname, join } from "node:path";
|
|
2
|
-
import { fileURLToPath } from "node:url";
|
|
3
|
-
import { describe, expect, it } from "vitest";
|
|
4
|
-
import { loadEventsForWorkflow } from "./loadEvents.js";
|
|
5
|
-
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
6
|
-
const fixture = join(__dirname, "..", "test", "fixtures", "adoption-validation", "wrong-workflow-id.events.ndjson");
|
|
7
|
-
describe("loadEvents eventFileAggregateCounts", () => {
|
|
8
|
-
it("counts wrong-workflow-id fixture for wf_requested", () => {
|
|
9
|
-
const { eventFileAggregateCounts } = loadEventsForWorkflow(fixture, "wf_requested");
|
|
10
|
-
expect(eventFileAggregateCounts).toEqual({
|
|
11
|
-
eventFileNonEmptyLines: 3,
|
|
12
|
-
schemaValidEvents: 2,
|
|
13
|
-
toolObservedForRequestedWorkflowId: 0,
|
|
14
|
-
toolObservedForOtherWorkflowIds: 2,
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
});
|
|
18
|
-
//# sourceMappingURL=loadEvents.eventFileAggregateCounts.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loadEvents.eventFileAggregateCounts.test.js","sourceRoot":"","sources":["../src/loadEvents.eventFileAggregateCounts.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,MAAM,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAC1D,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,qBAAqB,EAAE,iCAAiC,CAAC,CAAC;AAEpH,QAAQ,CAAC,qCAAqC,EAAE,GAAG,EAAE;IACnD,EAAE,CAAC,mDAAmD,EAAE,GAAG,EAAE;QAC3D,MAAM,EAAE,wBAAwB,EAAE,GAAG,qBAAqB,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QACpF,MAAM,CAAC,wBAAwB,CAAC,CAAC,OAAO,CAAC;YACvC,sBAAsB,EAAE,CAAC;YACzB,iBAAiB,EAAE,CAAC;YACpB,kCAAkC,EAAE,CAAC;YACrC,+BAA+B,EAAE,CAAC;SACnC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"noStepsMessage.test.d.ts","sourceRoot":"","sources":["../src/noStepsMessage.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"noStepsMessage.test.js","sourceRoot":"","sources":["../src/noStepsMessage.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,+BAA+B,EAAE,MAAM,qBAAqB,CAAC;AAEtE,MAAM,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAC1D,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,qBAAqB,EAAE,iCAAiC,CAAC,CAAC;AAEpH,QAAQ,CAAC,iCAAiC,EAAE,GAAG,EAAE;IAC/C,EAAE,CAAC,oDAAoD,EAAE,GAAG,EAAE;QAC5D,MAAM,EAAE,wBAAwB,EAAE,GAAG,qBAAqB,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QACpF,MAAM,GAAG,GAAG,+BAA+B,CAAC,cAAc,EAAE,wBAAwB,CAAC,CAAC;QACtF,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CACd,yLAAyL,CAC1L,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|