@speakspec/astro 0.0.3 → 0.0.4

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.
@@ -105,10 +105,12 @@ export function buildContentUsage(payload) {
105
105
  const flags = ac;
106
106
  const parts = [];
107
107
  if (flags.allow_training === true)
108
- parts.push('allow=FoundationModelProduction');
108
+ parts.push('train-ai=y');
109
109
  else if (flags.allow_training === false)
110
- parts.push('disallow=FoundationModelProduction');
110
+ parts.push('train-ai=n');
111
111
  if (flags.allow_derivative === true)
112
- parts.push('allow=Search');
112
+ parts.push('search=y');
113
+ else if (flags.allow_derivative === false)
114
+ parts.push('search=n');
113
115
  return parts.length > 0 ? parts.join(', ') : null;
114
116
  }
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION: "0.0.3";
1
+ export declare const SDK_VERSION: "0.0.4";
2
2
  export declare const SDK_USER_AGENT: string;
@@ -1,2 +1,2 @@
1
- export const SDK_VERSION = "0.0.3";
1
+ export const SDK_VERSION = "0.0.4";
2
2
  export const SDK_USER_AGENT = `@speakspec/astro/${SDK_VERSION}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@speakspec/astro",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "AIDP 0.3 publishing channel for Astro 5 — exposes /.well-known/aidp.json and friends, fetches signed content + pointer payloads from SpeakSpec, receives §8.10 cache-invalidation webhooks.",
5
5
  "repository": {
6
6
  "type": "git",