@athenaintel/sdk 4.3.2263 → 4.3.2265

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.
Files changed (40) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/assets/client/Client.d.ts +45 -1
  3. package/dist/cjs/api/resources/assets/client/Client.js +191 -1
  4. package/dist/cjs/api/resources/assets/client/requests/UpdateAgentConfigRequestIn.d.ts +91 -0
  5. package/dist/cjs/api/resources/assets/client/requests/UpdateAgentConfigRequestIn.js +3 -0
  6. package/dist/cjs/api/resources/assets/client/requests/UpdateSkillConfigRequestIn.d.ts +26 -0
  7. package/dist/cjs/api/resources/assets/client/requests/UpdateSkillConfigRequestIn.js +3 -0
  8. package/dist/cjs/api/resources/assets/client/requests/index.d.ts +2 -0
  9. package/dist/cjs/api/types/ActivityItemOut.d.ts +2 -2
  10. package/dist/cjs/api/types/PublicSessionComputerIn.d.ts +23 -0
  11. package/dist/cjs/api/types/PublicSessionComputerIn.js +11 -0
  12. package/dist/cjs/api/types/PublicSessionSetupStepIn.d.ts +9 -0
  13. package/dist/cjs/api/types/PublicSessionSetupStepIn.js +3 -0
  14. package/dist/cjs/api/types/UpdateAssetConfigResponseOut.d.ts +15 -0
  15. package/dist/cjs/api/types/UpdateAssetConfigResponseOut.js +3 -0
  16. package/dist/cjs/api/types/index.d.ts +3 -0
  17. package/dist/cjs/api/types/index.js +3 -0
  18. package/dist/cjs/version.d.ts +1 -1
  19. package/dist/cjs/version.js +1 -1
  20. package/dist/esm/BaseClient.mjs +2 -2
  21. package/dist/esm/api/resources/assets/client/Client.d.mts +45 -1
  22. package/dist/esm/api/resources/assets/client/Client.mjs +191 -1
  23. package/dist/esm/api/resources/assets/client/requests/UpdateAgentConfigRequestIn.d.mts +91 -0
  24. package/dist/esm/api/resources/assets/client/requests/UpdateAgentConfigRequestIn.mjs +2 -0
  25. package/dist/esm/api/resources/assets/client/requests/UpdateSkillConfigRequestIn.d.mts +26 -0
  26. package/dist/esm/api/resources/assets/client/requests/UpdateSkillConfigRequestIn.mjs +2 -0
  27. package/dist/esm/api/resources/assets/client/requests/index.d.mts +2 -0
  28. package/dist/esm/api/types/ActivityItemOut.d.mts +2 -2
  29. package/dist/esm/api/types/PublicSessionComputerIn.d.mts +23 -0
  30. package/dist/esm/api/types/PublicSessionComputerIn.mjs +8 -0
  31. package/dist/esm/api/types/PublicSessionSetupStepIn.d.mts +9 -0
  32. package/dist/esm/api/types/PublicSessionSetupStepIn.mjs +2 -0
  33. package/dist/esm/api/types/UpdateAssetConfigResponseOut.d.mts +15 -0
  34. package/dist/esm/api/types/UpdateAssetConfigResponseOut.mjs +2 -0
  35. package/dist/esm/api/types/index.d.mts +3 -0
  36. package/dist/esm/api/types/index.mjs +3 -0
  37. package/dist/esm/version.d.mts +1 -1
  38. package/dist/esm/version.mjs +1 -1
  39. package/package.json +1 -1
  40. package/reference.md +135 -1
package/reference.md CHANGED
@@ -923,7 +923,7 @@ await client.assets.get({
923
923
  <dl>
924
924
  <dd>
925
925
 
926
- Update an asset's display title. This supports folders and all other asset types the caller can edit, and applies the same rename side effects as the Athena application.
926
+ Update an asset's display title. This supports folders and all other asset types the caller can edit, and applies the same rename side effects as the Athena application. Only the title changes: to change a skill's or collab agent's content, use PUT /api/v0/assets/{asset_id}/skill-config or /api/v0/assets/{asset_id}/agent-config.
927
927
  </dd>
928
928
  </dl>
929
929
  </dd>
@@ -1242,6 +1242,73 @@ await client.assets.getActivityDeltas({
1242
1242
  </dl>
1243
1243
 
1244
1244
 
1245
+ </dd>
1246
+ </dl>
1247
+ </details>
1248
+
1249
+ <details><summary><code>client.assets.<a href="/src/api/resources/assets/client/Client.ts">updateAgentConfig</a>({ ...params }) -> AthenaIntelligence.UpdateAssetConfigResponseOut</code></summary>
1250
+ <dl>
1251
+ <dd>
1252
+
1253
+ #### 📝 Description
1254
+
1255
+ <dl>
1256
+ <dd>
1257
+
1258
+ <dl>
1259
+ <dd>
1260
+
1261
+ Write a collab agent's configuration (system prompt, model, tools, sources, behavior and channel settings) to its draft. Only the fields you send change; an omitted field keeps its current value, and a list or text field you send replaces the old one whole. The write goes to the live draft, the same draft the Athena editor shows, under the asset's existing id. Once the asset has been published, runs keep using the published version until you publish the draft with POST /api/v0/assets/{asset_id}/publish; one never published runs from its draft. Requires edit access to the asset; an archived asset is refused with 409. Unknown fields are refused with 422. A model must be available in the agent's workspace (422 otherwise). Tool or toolkit IDs the registry does not know are written and reported under warnings. A new name also becomes the asset title. The agent's email address and its outbound approval recipients are not set here.
1262
+ </dd>
1263
+ </dl>
1264
+ </dd>
1265
+ </dl>
1266
+
1267
+ #### 🔌 Usage
1268
+
1269
+ <dl>
1270
+ <dd>
1271
+
1272
+ <dl>
1273
+ <dd>
1274
+
1275
+ ```typescript
1276
+ await client.assets.updateAgentConfig({
1277
+ asset_id: "asset_92492920-d118-42d3-95b4-00eccfe0754f",
1278
+ system_prompt: "You review designs for accessibility and consistency.",
1279
+ tools: ["read_asset"]
1280
+ });
1281
+
1282
+ ```
1283
+ </dd>
1284
+ </dl>
1285
+ </dd>
1286
+ </dl>
1287
+
1288
+ #### ⚙️ Parameters
1289
+
1290
+ <dl>
1291
+ <dd>
1292
+
1293
+ <dl>
1294
+ <dd>
1295
+
1296
+ **request:** `AthenaIntelligence.UpdateAgentConfigRequestIn`
1297
+
1298
+ </dd>
1299
+ </dl>
1300
+
1301
+ <dl>
1302
+ <dd>
1303
+
1304
+ **requestOptions:** `AssetsClient.RequestOptions`
1305
+
1306
+ </dd>
1307
+ </dl>
1308
+ </dd>
1309
+ </dl>
1310
+
1311
+
1245
1312
  </dd>
1246
1313
  </dl>
1247
1314
  </details>
@@ -1708,6 +1775,73 @@ await client.assets.share({
1708
1775
  </dl>
1709
1776
 
1710
1777
 
1778
+ </dd>
1779
+ </dl>
1780
+ </details>
1781
+
1782
+ <details><summary><code>client.assets.<a href="/src/api/resources/assets/client/Client.ts">updateSkillConfig</a>({ ...params }) -> AthenaIntelligence.UpdateAssetConfigResponseOut</code></summary>
1783
+ <dl>
1784
+ <dd>
1785
+
1786
+ #### 📝 Description
1787
+
1788
+ <dl>
1789
+ <dd>
1790
+
1791
+ <dl>
1792
+ <dd>
1793
+
1794
+ Write a skill's SKILL.md content (name, description, markdown body and the optional frontmatter) to its draft. Only the fields you send change; an omitted field keeps its current value, and a list or text field you send replaces the old one whole. The write goes to the live draft, the same draft the Athena editor shows, under the asset's existing id. Once the asset has been published, runs keep using the published version until you publish the draft with POST /api/v0/assets/{asset_id}/publish; one never published runs from its draft. Requires edit access to the asset; an archived asset is refused with 409. Unknown fields are refused with 422. The frontmatter is validated as it will read after the write; a skill that would not be spec-compliant is refused with 422 and nothing is written. A new name also becomes the asset title.
1795
+ </dd>
1796
+ </dl>
1797
+ </dd>
1798
+ </dl>
1799
+
1800
+ #### 🔌 Usage
1801
+
1802
+ <dl>
1803
+ <dd>
1804
+
1805
+ <dl>
1806
+ <dd>
1807
+
1808
+ ```typescript
1809
+ await client.assets.updateSkillConfig({
1810
+ asset_id: "asset_92492920-d118-42d3-95b4-00eccfe0754f",
1811
+ body_markdown: "# Ticket triage\n\n1. Read the ticket...",
1812
+ description: "Triage support tickets by urgency and product area."
1813
+ });
1814
+
1815
+ ```
1816
+ </dd>
1817
+ </dl>
1818
+ </dd>
1819
+ </dl>
1820
+
1821
+ #### ⚙️ Parameters
1822
+
1823
+ <dl>
1824
+ <dd>
1825
+
1826
+ <dl>
1827
+ <dd>
1828
+
1829
+ **request:** `AthenaIntelligence.UpdateSkillConfigRequestIn`
1830
+
1831
+ </dd>
1832
+ </dl>
1833
+
1834
+ <dl>
1835
+ <dd>
1836
+
1837
+ **requestOptions:** `AssetsClient.RequestOptions`
1838
+
1839
+ </dd>
1840
+ </dl>
1841
+ </dd>
1842
+ </dl>
1843
+
1844
+
1711
1845
  </dd>
1712
1846
  </dl>
1713
1847
  </details>