@tangle-network/agent-interface 2.18.0 → 2.20.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.
@@ -6,16 +6,16 @@ const CHECKED = "2026-09-22";
6
6
  */
7
7
  export const profileKbLearnings = [];
8
8
  /**
9
- * Names the platform asked for that vendor sources state differently, as read
10
- * on 2026-09-22. Recorded instead of guessed.
9
+ * Historical naming and availability checks from 2026-09-22. Their dates and
10
+ * observations are retained; they do not establish current service or identity.
11
11
  */
12
12
  export const profileKbDiscrepancies = [
13
13
  {
14
14
  subject: "OpenAI Codex models",
15
15
  requested: "gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna as the current Codex models",
16
- observed: "OpenAI's Codex model page lists GPT-6 Astra, GPT-6 Sol, and GPT-6 Luna as the current models. " +
17
- "codex-cli 0.156.1 on a ChatGPT account serves all three (each returned OK) and labels the gpt-5.6 tiers 'Older'. " +
18
- "The knowledge base carries the GPT-6 tiers as the current Codex models and keeps the requested gpt-5.6 tiers, which Codex and the API still serve.",
16
+ observed: "On 2026-09-22, OpenAI's Codex model page listed GPT-6 Astra, GPT-6 Sol, and GPT-6 Luna as current. " +
17
+ "The check notes recorded OK replies for all three with codex-cli 0.156.1 on a ChatGPT account, and labelled the gpt-5.6 tiers 'Older'. " +
18
+ "Those response checks did not establish served identity, task quality, or availability today.",
19
19
  sources: [
20
20
  { url: "https://learn.chatgpt.com/docs/models", checkedAt: CHECKED },
21
21
  {
@@ -28,9 +28,9 @@ export const profileKbDiscrepancies = [
28
28
  {
29
29
  subject: "DeepSeek V4.1 Pro",
30
30
  requested: "DeepSeek V4.1 Pro",
31
- observed: "DeepSeek has released V4.1 Flash only (2026-09-10). Its changelog says the V4 Pro API continues, its pricing page maps " +
32
- "deepseek-v4-pro to DeepSeek-V4-Pro-0813, and its V4.1 Flash announcement says deepseek-v4-pro routes to V4.1 Flash from 2026-09-14. " +
33
- "On the Tangle router, deepseek-v4-pro returned HTTP 503 (provider quota exhausted). No V4.1 Pro entry exists until DeepSeek ships it.",
31
+ observed: "The sources checked on 2026-09-22 documented V4.1 Flash, released 2026-09-10, but did not establish a V4.1 Pro model. " +
32
+ "The changelog said the V4 Pro API continued; pricing mapped deepseek-v4-pro to DeepSeek-V4-Pro-0813, while the Flash announcement said it routed to V4.1 Flash from 2026-09-14. " +
33
+ "The router check recorded HTTP 503 (provider quota exhausted) for deepseek-v4-pro; it did not resolve that source disagreement.",
34
34
  sources: [
35
35
  { url: "https://api-docs.deepseek.com/updates/", checkedAt: CHECKED },
36
36
  { url: "https://api-docs.deepseek.com/quick_start/pricing", checkedAt: CHECKED },
@@ -40,7 +40,8 @@ export const profileKbDiscrepancies = [
40
40
  {
41
41
  subject: "DeepSeek V4.1 Flash router id",
42
42
  requested: "deepseek-flash (the vendor id)",
43
- observed: "On the Tangle router, deepseek-flash returned HTTP 503 (provider_pricing_unavailable); deepseek/deepseek-v4.1-flash returned HTTP 200.",
43
+ observed: "The 2026-09-22 Tangle router check recorded HTTP 503 (provider_pricing_unavailable) for deepseek-flash and HTTP 200 for deepseek/deepseek-v4.1-flash. " +
44
+ "These statuses did not establish served identity or current availability.",
44
45
  sources: [
45
46
  {
46
47
  url: "https://router.tangle.tools/v1/chat/completions",
@@ -51,7 +52,8 @@ export const profileKbDiscrepancies = [
51
52
  {
52
53
  subject: "GPT-6 Pro",
53
54
  requested: "GPT-6 Pro in ChatGPT",
54
- observed: "OpenAI's help center names GPT-6 Pro as a ChatGPT mode powered by GPT-6 Astra; it has no API model id.",
55
+ observed: "The 2026-09-22 check recorded OpenAI's description of GPT-6 Pro as a ChatGPT mode powered by GPT-6 Astra. " +
56
+ "That check did not establish a separate API model id for the ChatGPT mode.",
55
57
  sources: [
56
58
  {
57
59
  url: "https://help.openai.com/en/articles/20001354-gpt-56-and-gpt-6-pro-in-chatgpt",
@@ -7,6 +7,17 @@ export interface ProfileKbSource {
7
7
  checkedAt: string;
8
8
  /** What the source is, when the URL alone does not say. */
9
9
  note?: string;
10
+ /** Authority of the source, independent of whether its claim is advice or a measured result. */
11
+ authority?: "primary" | "secondary" | "local";
12
+ /** Section, source lines, or retained artifact locator supporting the claim. */
13
+ locator?: string;
14
+ }
15
+ /** A short claim with its qualifications in text, so composition cannot strip them. */
16
+ export interface ProfileKbClaim {
17
+ text: string;
18
+ basis: "documented" | "vendor-guidance" | "local-observation" | "hypothesis";
19
+ audience: "agent" | "operator";
20
+ sources: [ProfileKbSource, ...ProfileKbSource[]];
10
21
  }
11
22
  /**
12
23
  * How to get the best from one harness.
@@ -18,20 +29,21 @@ export interface ProfileKbSource {
18
29
  export interface ProfileKbHarness {
19
30
  id: HarnessType;
20
31
  name: string;
21
- /** Installed version the guidance was checked against. */
32
+ /** Version of the checked CLI or upstream source; claim citations distinguish installation from documentation. */
22
33
  version: string;
23
34
  sources: ProfileKbSource[];
24
35
  prompt: string[];
25
36
  operator: string[];
37
+ /** Canonical claims; prompt/operator are projections retained for existing consumers. */
38
+ claims?: ProfileKbClaim[];
26
39
  }
27
40
  /** Where a model is reached. A model id means different things on each surface. */
28
41
  export type ProfileKbSurface = "api" | "codex" | "chatgpt" | "router";
29
42
  /**
30
43
  * How to get the best from one model.
31
44
  *
32
- * Vendor guidance only, each entry citing its source and date. The guidance is
33
- * positive and specific to this model; it never ranks the model against
34
- * another.
45
+ * API facts, dated observations, and conditional vendor guidance. Sources
46
+ * establish their stated surface, not current availability or task quality.
35
47
  */
36
48
  export interface ProfileKbModel {
37
49
  /** Canonical vendor id. */
@@ -41,11 +53,12 @@ export interface ProfileKbModel {
41
53
  surfaces: ProfileKbSurface[];
42
54
  /** Other spellings that resolve to this model: router ids, harness aliases. */
43
55
  aliases: string[];
44
- /** Vendor default reasoning effort, mapped onto the portable scale. */
56
+ /** Documented API default mapped onto the portable scale (ultracode means max); harness defaults can differ. */
45
57
  defaultEffort?: ReasoningEffort;
46
58
  sources: ProfileKbSource[];
47
59
  prompt: string[];
48
60
  operator: string[];
61
+ claims?: ProfileKbClaim[];
49
62
  }
50
63
  /**
51
64
  * A lesson this platform learned itself. It enters the knowledge base only
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-interface",
3
- "version": "2.18.0",
3
+ "version": "2.20.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",