@vibexp/api-client 0.99.0 → 0.100.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.
@@ -76,25 +76,25 @@ export type PaginatedResponse = {
76
76
  total_pages: number;
77
77
  };
78
78
  /**
79
- * The complete status vocabulary shared by prompts, artifacts, blueprints and memories. Each resource type accepts a named subset of these values, never the whole set; see PromptStatus, ArtifactStatus, BlueprintStatus and MemoryStatus.
79
+ * The system status vocabulary shared by prompts, artifacts, blueprints and memories. Each resource type has a named subset of these values as its system statuses; see PromptStatus, ArtifactStatus, BlueprintStatus and MemoryStatus. A team's custom status may not reuse any of these values.
80
80
  */
81
81
  export type ResourceStatus = 'active' | 'draft' | 'archived' | 'published' | 'expired';
82
82
  /**
83
- * Publication status of a prompt. A prompt is only exposed over MCP once it is `published`.
83
+ * Status of a prompt. The system values are `draft` and `published`; a prompt is only exposed over MCP once it is `published`. A team may define further statuses of its own for prompts, so this is an open string: any other value must be one of the team's custom prompt statuses, or the request is rejected with 400.
84
84
  */
85
- export type PromptStatus = 'draft' | 'published';
85
+ export type PromptStatus = string;
86
86
  /**
87
- * Lifecycle status of an artifact.
87
+ * Status of an artifact. The system values are `active`, `draft` and `archived`. A team may define further statuses of its own for artifacts, so this is an open string: any other value must be one of the team's custom artifact statuses, or the request is rejected with 400.
88
88
  */
89
- export type ArtifactStatus = 'active' | 'draft' | 'archived';
89
+ export type ArtifactStatus = string;
90
90
  /**
91
- * Lifecycle status of a blueprint. `expired` marks a blueprint whose rules no longer apply but whose content is kept for reference.
91
+ * Status of a blueprint. The system values are `active` and `expired`; `expired` marks a blueprint whose rules no longer apply but whose content is kept for reference. A team may define further statuses of its own for blueprints, so this is an open string: any other value must be one of the team's custom blueprint statuses, or the request is rejected with 400.
92
92
  */
93
- export type BlueprintStatus = 'active' | 'expired';
93
+ export type BlueprintStatus = string;
94
94
  /**
95
- * Lifecycle status of a memory.
95
+ * Status of a memory. The system values are `active`, `draft` and `archived`. A team may define further statuses of its own for memories, so this is an open string: any other value must be one of the team's custom memory statuses, or the request is rejected with 400.
96
96
  */
97
- export type MemoryStatus = 'active' | 'draft' | 'archived';
97
+ export type MemoryStatus = string;
98
98
  /**
99
99
  * Per-source access counts for a single calendar day (UTC), zero-filled.
100
100
  */
@@ -7810,7 +7810,7 @@ export type ListArtifactsData = {
7810
7810
  */
7811
7811
  project_id?: string;
7812
7812
  /**
7813
- * Filter by status
7813
+ * Filter by status: one of the system statuses or one of the team's custom statuses for this resource type. Returns 400 for unknown values.
7814
7814
  */
7815
7815
  status?: ArtifactStatus;
7816
7816
  /**
@@ -7954,7 +7954,7 @@ export type ListArtifactsByProjectData = {
7954
7954
  */
7955
7955
  freshness?: 'stale';
7956
7956
  /**
7957
- * Filter by status
7957
+ * Filter by status: one of the system statuses or one of the team's custom statuses for this resource type. Returns 400 for unknown values.
7958
7958
  */
7959
7959
  status?: ArtifactStatus;
7960
7960
  /**
@@ -9217,7 +9217,7 @@ export type ListSpecLibrariesData = {
9217
9217
  */
9218
9218
  project_id?: string;
9219
9219
  /**
9220
- * Filter by status
9220
+ * Filter by status: one of the system statuses or one of the team's custom statuses for this resource type. Returns 400 for unknown values.
9221
9221
  */
9222
9222
  status?: BlueprintStatus;
9223
9223
  /**
@@ -9365,7 +9365,7 @@ export type ListSpecLibrariesByProjectData = {
9365
9365
  */
9366
9366
  freshness?: 'stale';
9367
9367
  /**
9368
- * Filter by status
9368
+ * Filter by status: one of the system statuses or one of the team's custom statuses for this resource type. Returns 400 for unknown values.
9369
9369
  */
9370
9370
  status?: BlueprintStatus;
9371
9371
  /**
@@ -9737,7 +9737,7 @@ export type ListPromptsData = {
9737
9737
  */
9738
9738
  search?: string;
9739
9739
  /**
9740
- * Filter by prompt status
9740
+ * Filter by status: one of the system statuses or one of the team's custom statuses for this resource type. Returns 400 for unknown values.
9741
9741
  */
9742
9742
  status?: PromptStatus;
9743
9743
  /**
package/dist/schema.d.ts CHANGED
@@ -5991,35 +5991,31 @@ export interface components {
5991
5991
  total_pages: number;
5992
5992
  };
5993
5993
  /**
5994
- * @description The complete status vocabulary shared by prompts, artifacts, blueprints and memories. Each resource type accepts a named subset of these values, never the whole set; see PromptStatus, ArtifactStatus, BlueprintStatus and MemoryStatus.
5994
+ * @description The system status vocabulary shared by prompts, artifacts, blueprints and memories. Each resource type has a named subset of these values as its system statuses; see PromptStatus, ArtifactStatus, BlueprintStatus and MemoryStatus. A team's custom status may not reuse any of these values.
5995
5995
  * @example active
5996
5996
  * @enum {string}
5997
5997
  */
5998
5998
  ResourceStatus: "active" | "draft" | "archived" | "published" | "expired";
5999
5999
  /**
6000
- * @description Publication status of a prompt. A prompt is only exposed over MCP once it is `published`.
6000
+ * @description Status of a prompt. The system values are `draft` and `published`; a prompt is only exposed over MCP once it is `published`. A team may define further statuses of its own for prompts, so this is an open string: any other value must be one of the team's custom prompt statuses, or the request is rejected with 400.
6001
6001
  * @example published
6002
- * @enum {string}
6003
6002
  */
6004
- PromptStatus: "draft" | "published";
6003
+ PromptStatus: string;
6005
6004
  /**
6006
- * @description Lifecycle status of an artifact.
6005
+ * @description Status of an artifact. The system values are `active`, `draft` and `archived`. A team may define further statuses of its own for artifacts, so this is an open string: any other value must be one of the team's custom artifact statuses, or the request is rejected with 400.
6007
6006
  * @example active
6008
- * @enum {string}
6009
6007
  */
6010
- ArtifactStatus: "active" | "draft" | "archived";
6008
+ ArtifactStatus: string;
6011
6009
  /**
6012
- * @description Lifecycle status of a blueprint. `expired` marks a blueprint whose rules no longer apply but whose content is kept for reference.
6010
+ * @description Status of a blueprint. The system values are `active` and `expired`; `expired` marks a blueprint whose rules no longer apply but whose content is kept for reference. A team may define further statuses of its own for blueprints, so this is an open string: any other value must be one of the team's custom blueprint statuses, or the request is rejected with 400.
6013
6011
  * @example active
6014
- * @enum {string}
6015
6012
  */
6016
- BlueprintStatus: "active" | "expired";
6013
+ BlueprintStatus: string;
6017
6014
  /**
6018
- * @description Lifecycle status of a memory.
6015
+ * @description Status of a memory. The system values are `active`, `draft` and `archived`. A team may define further statuses of its own for memories, so this is an open string: any other value must be one of the team's custom memory statuses, or the request is rejected with 400.
6019
6016
  * @example active
6020
- * @enum {string}
6021
6017
  */
6022
- MemoryStatus: "active" | "draft" | "archived";
6018
+ MemoryStatus: string;
6023
6019
  /** @description Per-source access counts for a single calendar day (UTC), zero-filled. */
6024
6020
  ResourceAccessDailyCount: {
6025
6021
  /**
@@ -15250,7 +15246,7 @@ export interface operations {
15250
15246
  freshness?: "stale";
15251
15247
  /** @description Filter by project ID */
15252
15248
  project_id?: string;
15253
- /** @description Filter by status */
15249
+ /** @description Filter by status: one of the system statuses or one of the team's custom statuses for this resource type. Returns 400 for unknown values. */
15254
15250
  status?: components["schemas"]["ArtifactStatus"];
15255
15251
  /** @description Filter by type. An open string matched against the team's registered types (the system defaults work_reports, static_contexts and general, plus any custom types the team has added), not a fixed enum. */
15256
15252
  type?: string;
@@ -15431,7 +15427,7 @@ export interface operations {
15431
15427
  query?: {
15432
15428
  /** @description Filter to resources currently flagged stale by the team's freshness rules (epic #726). Omit for no freshness filtering. Returns 400 for any other value — a silently ignored filter would return the full list, which looks like a legitimate answer. */
15433
15429
  freshness?: "stale";
15434
- /** @description Filter by status */
15430
+ /** @description Filter by status: one of the system statuses or one of the team's custom statuses for this resource type. Returns 400 for unknown values. */
15435
15431
  status?: components["schemas"]["ArtifactStatus"];
15436
15432
  /** @description Filter by type. An open string matched against the team's registered types (the system defaults work_reports, static_contexts and general, plus any custom types the team has added), not a fixed enum. */
15437
15433
  type?: string;
@@ -17147,7 +17143,7 @@ export interface operations {
17147
17143
  project_name?: string;
17148
17144
  /** @description Filter by project ID. On this team-scoped variant the backend reads it only when a project is not already selected via a path parameter (i.e. not on listSpecLibrariesByProject). */
17149
17145
  project_id?: string;
17150
- /** @description Filter by status */
17146
+ /** @description Filter by status: one of the system statuses or one of the team's custom statuses for this resource type. Returns 400 for unknown values. */
17151
17147
  status?: components["schemas"]["BlueprintStatus"];
17152
17148
  /** @description Filter by type */
17153
17149
  type?: "general" | "claude-code" | "claude" | "cursor" | "codex";
@@ -17344,7 +17340,7 @@ export interface operations {
17344
17340
  query?: {
17345
17341
  /** @description Filter to resources currently flagged stale by the team's freshness rules (epic #726). Omit for no freshness filtering. Returns 400 for any other value — a silently ignored filter would return the full list, which looks like a legitimate answer. */
17346
17342
  freshness?: "stale";
17347
- /** @description Filter by status */
17343
+ /** @description Filter by status: one of the system statuses or one of the team's custom statuses for this resource type. Returns 400 for unknown values. */
17348
17344
  status?: components["schemas"]["BlueprintStatus"];
17349
17345
  /** @description Filter by type */
17350
17346
  type?: "general" | "claude-code" | "claude" | "cursor" | "codex";
@@ -17824,7 +17820,7 @@ export interface operations {
17824
17820
  limit?: number;
17825
17821
  /** @description Search term to filter prompts by name or description */
17826
17822
  search?: string;
17827
- /** @description Filter by prompt status */
17823
+ /** @description Filter by status: one of the system statuses or one of the team's custom statuses for this resource type. Returns 400 for unknown values. */
17828
17824
  status?: components["schemas"]["PromptStatus"];
17829
17825
  /**
17830
17826
  * @description Comma-separated list of labels to filter by. A resource matches when it carries at least one of the listed labels. At most 25 labels, each at most 50 characters; beyond that the request is rejected with 400.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibexp/api-client",
3
- "version": "0.99.0",
3
+ "version": "0.100.0",
4
4
  "description": "Typed VibeXP API client generated from the OpenAPI spec (openapi-fetch main entrypoint, axios SDK at ./axios)",
5
5
  "license": "MIT",
6
6
  "repository": {