@arbidocs/client 0.3.66 → 0.3.68
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/dist/index.d.cts +138 -0
- package/dist/index.d.ts +138 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1404,6 +1404,41 @@ interface paths {
|
|
|
1404
1404
|
patch?: never;
|
|
1405
1405
|
trace?: never;
|
|
1406
1406
|
};
|
|
1407
|
+
'/v1/assistant/skills': {
|
|
1408
|
+
parameters: {
|
|
1409
|
+
query?: never;
|
|
1410
|
+
header?: never;
|
|
1411
|
+
path?: never;
|
|
1412
|
+
cookie?: never;
|
|
1413
|
+
};
|
|
1414
|
+
/**
|
|
1415
|
+
* List user-invocable skills in the active workspace
|
|
1416
|
+
* @description List skills the caller can invoke via ``/<slug>`` in the active
|
|
1417
|
+
* workspace.
|
|
1418
|
+
*
|
|
1419
|
+
* Returns lightweight metadata only (name, description, arg hint) —
|
|
1420
|
+
* never the SKILL.md body. Clients pull this once per workspace switch
|
|
1421
|
+
* to populate slash-command autocomplete in the TUI / CLI / React UI.
|
|
1422
|
+
*
|
|
1423
|
+
* Skills are workspace documents with ``wp_type='skill'``; the scope
|
|
1424
|
+
* matches the workspace the caller has open. Cross-workspace listing
|
|
1425
|
+
* (skills from workspace A surfaced while in workspace B) is
|
|
1426
|
+
* intentionally out of scope — each workspace has its own encryption
|
|
1427
|
+
* key and surfacing a skill the caller can see but can't decrypt
|
|
1428
|
+
* would be a confusing UX.
|
|
1429
|
+
*
|
|
1430
|
+
* The endpoint decrypts one main-file per skill to parse frontmatter;
|
|
1431
|
+
* companion bodies are skipped to keep the response cheap.
|
|
1432
|
+
*/
|
|
1433
|
+
get: operations['list_skills'];
|
|
1434
|
+
put?: never;
|
|
1435
|
+
post?: never;
|
|
1436
|
+
delete?: never;
|
|
1437
|
+
options?: never;
|
|
1438
|
+
head?: never;
|
|
1439
|
+
patch?: never;
|
|
1440
|
+
trace?: never;
|
|
1441
|
+
};
|
|
1407
1442
|
'/v1/assistant/query': {
|
|
1408
1443
|
parameters: {
|
|
1409
1444
|
query?: never;
|
|
@@ -6681,6 +6716,77 @@ interface components {
|
|
|
6681
6716
|
*/
|
|
6682
6717
|
detail: string;
|
|
6683
6718
|
};
|
|
6719
|
+
/**
|
|
6720
|
+
* SkillSummaryResponse
|
|
6721
|
+
* @description One row of ``GET /v1/assistant/skills``.
|
|
6722
|
+
*
|
|
6723
|
+
* Lightweight projection — never includes the SKILL.md body. Clients
|
|
6724
|
+
* use this to populate slash-command autocomplete (name / description
|
|
6725
|
+
* / arg_hint) and to know which doc to fetch when the user wants to
|
|
6726
|
+
* inspect the full source via ``GET /v1/document/.../parsed-content``.
|
|
6727
|
+
*/
|
|
6728
|
+
SkillSummaryResponse: {
|
|
6729
|
+
/**
|
|
6730
|
+
* Name
|
|
6731
|
+
* @description Skill display name (frontmatter ``name``, falls back to slug)
|
|
6732
|
+
*/
|
|
6733
|
+
name: string;
|
|
6734
|
+
/**
|
|
6735
|
+
* Slug
|
|
6736
|
+
* @description Folder-safe identifier used by ``/<slug>`` slash invocation
|
|
6737
|
+
*/
|
|
6738
|
+
slug: string;
|
|
6739
|
+
/**
|
|
6740
|
+
* Description
|
|
6741
|
+
* @description One-line description from frontmatter
|
|
6742
|
+
* @default
|
|
6743
|
+
*/
|
|
6744
|
+
description: string;
|
|
6745
|
+
/**
|
|
6746
|
+
* User Invocable
|
|
6747
|
+
* @description Whether the skill appears in slash menus
|
|
6748
|
+
* @default true
|
|
6749
|
+
*/
|
|
6750
|
+
user_invocable: boolean;
|
|
6751
|
+
/**
|
|
6752
|
+
* Arg Hint
|
|
6753
|
+
* @description Optional args hint (e.g. ``"<env> [--dry-run]"``)
|
|
6754
|
+
* @default
|
|
6755
|
+
*/
|
|
6756
|
+
arg_hint: string;
|
|
6757
|
+
/**
|
|
6758
|
+
* Skill Type
|
|
6759
|
+
* @description ``markdown`` | ``python`` | ``shell`` | ``javascript`` | ``typescript``
|
|
6760
|
+
* @default markdown
|
|
6761
|
+
*/
|
|
6762
|
+
skill_type: string;
|
|
6763
|
+
/**
|
|
6764
|
+
* Workspace Ext Id
|
|
6765
|
+
* @description External ID of the workspace the skill lives in
|
|
6766
|
+
*/
|
|
6767
|
+
workspace_ext_id: string;
|
|
6768
|
+
/**
|
|
6769
|
+
* Doc Ext Id
|
|
6770
|
+
* @description External ID of the SKILL.md doc (use for /parsed-content)
|
|
6771
|
+
*/
|
|
6772
|
+
doc_ext_id: string;
|
|
6773
|
+
/**
|
|
6774
|
+
* Updated At
|
|
6775
|
+
* Format: date-time
|
|
6776
|
+
* @description Last modification time of the main file
|
|
6777
|
+
*/
|
|
6778
|
+
updated_at: string;
|
|
6779
|
+
};
|
|
6780
|
+
/**
|
|
6781
|
+
* SkillsListResponse
|
|
6782
|
+
* @description Wrapper for ``GET /v1/assistant/skills`` — mirrors the
|
|
6783
|
+
* ``{ skills: [...] }`` shape rather than a bare array so we can add
|
|
6784
|
+
* paging or aggregate fields later without breaking clients.
|
|
6785
|
+
*/
|
|
6786
|
+
SkillsListResponse: {
|
|
6787
|
+
/** Skills */
|
|
6788
|
+
skills: components['schemas']['SkillSummaryResponse'][];
|
|
6789
|
+
};
|
|
6684
6790
|
/**
|
|
6685
6791
|
* SkippedFile
|
|
6686
6792
|
* @description A file that was skipped during upload with the reason.
|
|
@@ -10066,6 +10172,38 @@ interface operations {
|
|
|
10066
10172
|
};
|
|
10067
10173
|
};
|
|
10068
10174
|
};
|
|
10175
|
+
list_skills: {
|
|
10176
|
+
parameters: {
|
|
10177
|
+
query?: {
|
|
10178
|
+
/** @description Include skills whose frontmatter sets ``user-invocable: false``. Off by default — those are typically agent-only or in-progress skills that shouldn't surface in slash-command menus. */
|
|
10179
|
+
include_hidden?: boolean;
|
|
10180
|
+
};
|
|
10181
|
+
header?: never;
|
|
10182
|
+
path?: never;
|
|
10183
|
+
cookie?: never;
|
|
10184
|
+
};
|
|
10185
|
+
requestBody?: never;
|
|
10186
|
+
responses: {
|
|
10187
|
+
/** @description Successful Response */
|
|
10188
|
+
200: {
|
|
10189
|
+
headers: {
|
|
10190
|
+
[name: string]: unknown;
|
|
10191
|
+
};
|
|
10192
|
+
content: {
|
|
10193
|
+
'application/json': components['schemas']['SkillsListResponse'];
|
|
10194
|
+
};
|
|
10195
|
+
};
|
|
10196
|
+
/** @description Validation Error */
|
|
10197
|
+
422: {
|
|
10198
|
+
headers: {
|
|
10199
|
+
[name: string]: unknown;
|
|
10200
|
+
};
|
|
10201
|
+
content: {
|
|
10202
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
10203
|
+
};
|
|
10204
|
+
};
|
|
10205
|
+
};
|
|
10206
|
+
};
|
|
10069
10207
|
generate: {
|
|
10070
10208
|
parameters: {
|
|
10071
10209
|
query?: never;
|
package/dist/index.d.ts
CHANGED
|
@@ -1404,6 +1404,41 @@ interface paths {
|
|
|
1404
1404
|
patch?: never;
|
|
1405
1405
|
trace?: never;
|
|
1406
1406
|
};
|
|
1407
|
+
'/v1/assistant/skills': {
|
|
1408
|
+
parameters: {
|
|
1409
|
+
query?: never;
|
|
1410
|
+
header?: never;
|
|
1411
|
+
path?: never;
|
|
1412
|
+
cookie?: never;
|
|
1413
|
+
};
|
|
1414
|
+
/**
|
|
1415
|
+
* List user-invocable skills in the active workspace
|
|
1416
|
+
* @description List skills the caller can invoke via ``/<slug>`` in the active
|
|
1417
|
+
* workspace.
|
|
1418
|
+
*
|
|
1419
|
+
* Returns lightweight metadata only (name, description, arg hint) —
|
|
1420
|
+
* never the SKILL.md body. Clients pull this once per workspace switch
|
|
1421
|
+
* to populate slash-command autocomplete in the TUI / CLI / React UI.
|
|
1422
|
+
*
|
|
1423
|
+
* Skills are workspace documents with ``wp_type='skill'``; the scope
|
|
1424
|
+
* matches the workspace the caller has open. Cross-workspace listing
|
|
1425
|
+
* (skills from workspace A surfaced while in workspace B) is
|
|
1426
|
+
* intentionally out of scope — each workspace has its own encryption
|
|
1427
|
+
* key and surfacing a skill the caller can see but can't decrypt
|
|
1428
|
+
* would be a confusing UX.
|
|
1429
|
+
*
|
|
1430
|
+
* The endpoint decrypts one main-file per skill to parse frontmatter;
|
|
1431
|
+
* companion bodies are skipped to keep the response cheap.
|
|
1432
|
+
*/
|
|
1433
|
+
get: operations['list_skills'];
|
|
1434
|
+
put?: never;
|
|
1435
|
+
post?: never;
|
|
1436
|
+
delete?: never;
|
|
1437
|
+
options?: never;
|
|
1438
|
+
head?: never;
|
|
1439
|
+
patch?: never;
|
|
1440
|
+
trace?: never;
|
|
1441
|
+
};
|
|
1407
1442
|
'/v1/assistant/query': {
|
|
1408
1443
|
parameters: {
|
|
1409
1444
|
query?: never;
|
|
@@ -6681,6 +6716,77 @@ interface components {
|
|
|
6681
6716
|
*/
|
|
6682
6717
|
detail: string;
|
|
6683
6718
|
};
|
|
6719
|
+
/**
|
|
6720
|
+
* SkillSummaryResponse
|
|
6721
|
+
* @description One row of ``GET /v1/assistant/skills``.
|
|
6722
|
+
*
|
|
6723
|
+
* Lightweight projection — never includes the SKILL.md body. Clients
|
|
6724
|
+
* use this to populate slash-command autocomplete (name / description
|
|
6725
|
+
* / arg_hint) and to know which doc to fetch when the user wants to
|
|
6726
|
+
* inspect the full source via ``GET /v1/document/.../parsed-content``.
|
|
6727
|
+
*/
|
|
6728
|
+
SkillSummaryResponse: {
|
|
6729
|
+
/**
|
|
6730
|
+
* Name
|
|
6731
|
+
* @description Skill display name (frontmatter ``name``, falls back to slug)
|
|
6732
|
+
*/
|
|
6733
|
+
name: string;
|
|
6734
|
+
/**
|
|
6735
|
+
* Slug
|
|
6736
|
+
* @description Folder-safe identifier used by ``/<slug>`` slash invocation
|
|
6737
|
+
*/
|
|
6738
|
+
slug: string;
|
|
6739
|
+
/**
|
|
6740
|
+
* Description
|
|
6741
|
+
* @description One-line description from frontmatter
|
|
6742
|
+
* @default
|
|
6743
|
+
*/
|
|
6744
|
+
description: string;
|
|
6745
|
+
/**
|
|
6746
|
+
* User Invocable
|
|
6747
|
+
* @description Whether the skill appears in slash menus
|
|
6748
|
+
* @default true
|
|
6749
|
+
*/
|
|
6750
|
+
user_invocable: boolean;
|
|
6751
|
+
/**
|
|
6752
|
+
* Arg Hint
|
|
6753
|
+
* @description Optional args hint (e.g. ``"<env> [--dry-run]"``)
|
|
6754
|
+
* @default
|
|
6755
|
+
*/
|
|
6756
|
+
arg_hint: string;
|
|
6757
|
+
/**
|
|
6758
|
+
* Skill Type
|
|
6759
|
+
* @description ``markdown`` | ``python`` | ``shell`` | ``javascript`` | ``typescript``
|
|
6760
|
+
* @default markdown
|
|
6761
|
+
*/
|
|
6762
|
+
skill_type: string;
|
|
6763
|
+
/**
|
|
6764
|
+
* Workspace Ext Id
|
|
6765
|
+
* @description External ID of the workspace the skill lives in
|
|
6766
|
+
*/
|
|
6767
|
+
workspace_ext_id: string;
|
|
6768
|
+
/**
|
|
6769
|
+
* Doc Ext Id
|
|
6770
|
+
* @description External ID of the SKILL.md doc (use for /parsed-content)
|
|
6771
|
+
*/
|
|
6772
|
+
doc_ext_id: string;
|
|
6773
|
+
/**
|
|
6774
|
+
* Updated At
|
|
6775
|
+
* Format: date-time
|
|
6776
|
+
* @description Last modification time of the main file
|
|
6777
|
+
*/
|
|
6778
|
+
updated_at: string;
|
|
6779
|
+
};
|
|
6780
|
+
/**
|
|
6781
|
+
* SkillsListResponse
|
|
6782
|
+
* @description Wrapper for ``GET /v1/assistant/skills`` — mirrors the
|
|
6783
|
+
* ``{ skills: [...] }`` shape rather than a bare array so we can add
|
|
6784
|
+
* paging or aggregate fields later without breaking clients.
|
|
6785
|
+
*/
|
|
6786
|
+
SkillsListResponse: {
|
|
6787
|
+
/** Skills */
|
|
6788
|
+
skills: components['schemas']['SkillSummaryResponse'][];
|
|
6789
|
+
};
|
|
6684
6790
|
/**
|
|
6685
6791
|
* SkippedFile
|
|
6686
6792
|
* @description A file that was skipped during upload with the reason.
|
|
@@ -10066,6 +10172,38 @@ interface operations {
|
|
|
10066
10172
|
};
|
|
10067
10173
|
};
|
|
10068
10174
|
};
|
|
10175
|
+
list_skills: {
|
|
10176
|
+
parameters: {
|
|
10177
|
+
query?: {
|
|
10178
|
+
/** @description Include skills whose frontmatter sets ``user-invocable: false``. Off by default — those are typically agent-only or in-progress skills that shouldn't surface in slash-command menus. */
|
|
10179
|
+
include_hidden?: boolean;
|
|
10180
|
+
};
|
|
10181
|
+
header?: never;
|
|
10182
|
+
path?: never;
|
|
10183
|
+
cookie?: never;
|
|
10184
|
+
};
|
|
10185
|
+
requestBody?: never;
|
|
10186
|
+
responses: {
|
|
10187
|
+
/** @description Successful Response */
|
|
10188
|
+
200: {
|
|
10189
|
+
headers: {
|
|
10190
|
+
[name: string]: unknown;
|
|
10191
|
+
};
|
|
10192
|
+
content: {
|
|
10193
|
+
'application/json': components['schemas']['SkillsListResponse'];
|
|
10194
|
+
};
|
|
10195
|
+
};
|
|
10196
|
+
/** @description Validation Error */
|
|
10197
|
+
422: {
|
|
10198
|
+
headers: {
|
|
10199
|
+
[name: string]: unknown;
|
|
10200
|
+
};
|
|
10201
|
+
content: {
|
|
10202
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
10203
|
+
};
|
|
10204
|
+
};
|
|
10205
|
+
};
|
|
10206
|
+
};
|
|
10069
10207
|
generate: {
|
|
10070
10208
|
parameters: {
|
|
10071
10209
|
query?: never;
|
package/package.json
CHANGED