@copado/agentia-cli 0.118.0-alpha.0 → 0.119.0-alpha.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.
- package/README.md +224 -293
- package/dist/commands/cicd/notification/configure.d.ts +1 -1
- package/dist/commands/cicd/work/deployment-step/create.d.ts +1 -1
- package/dist/commands/testing/build/run.d.ts +2 -2
- package/dist/commands/testing/data-table/create.d.ts +1 -1
- package/dist/commands/testing/data-table/update.d.ts +1 -1
- package/dist/commands/testing/job/create.d.ts +1 -1
- package/dist/commands/testing/job/schedule/set.d.ts +1 -1
- package/dist/commands/testing/job/update.d.ts +1 -1
- package/dist/commands/testing/robot/update.d.ts +1 -1
- package/dist/commands/testing/run.d.ts +2 -2
- package/dist/commands/testing/test/run.d.ts +2 -2
- package/dist/lib/ai-chat-session.d.ts +0 -3
- package/dist/lib/ai-chat-session.js +66 -182
- package/dist/lib/ai-chat-session.js.map +1 -1
- package/dist/lib/ai-gateway.d.ts +1 -8
- package/dist/lib/ai-gateway.js +2 -34
- package/dist/lib/ai-gateway.js.map +1 -1
- package/dist/lib/ai-types.d.ts +0 -18
- package/dist/lib/ai-types.js +1 -45
- package/dist/lib/ai-types.js.map +1 -1
- package/dist/lib/format.d.ts +0 -2
- package/dist/lib/format.js +2 -5
- package/dist/lib/format.js.map +1 -1
- package/dist/lib/mcp/tools.d.ts +2 -2
- package/dist/lib/testing-data-command.d.ts +1 -1
- package/dist/lib/testing-flags.d.ts +2 -2
- package/oclif.manifest.json +97 -248
- package/package.json +1 -10
- package/templates/skills/agentia-ai/SKILL.md +5 -5
- package/templates/skills/agentia-ai/references/ai-agents.md +3 -18
- package/dist/commands/ai/session/list.d.ts +0 -14
- package/dist/commands/ai/session/list.js +0 -46
- package/dist/commands/ai/session/list.js.map +0 -1
- package/dist/commands/ai/session/start.d.ts +0 -17
- package/dist/commands/ai/session/start.js +0 -60
- package/dist/commands/ai/session/start.js.map +0 -1
- package/dist/lib/ai-session-banner.d.ts +0 -5
- package/dist/lib/ai-session-banner.js +0 -20
- package/dist/lib/ai-session-banner.js.map +0 -1
- package/dist/lib/ai-session-tui-blocks.d.ts +0 -9
- package/dist/lib/ai-session-tui-blocks.js +0 -36
- package/dist/lib/ai-session-tui-blocks.js.map +0 -1
- package/dist/lib/ai-session-tui-clipboard.d.ts +0 -22
- package/dist/lib/ai-session-tui-clipboard.js +0 -78
- package/dist/lib/ai-session-tui-clipboard.js.map +0 -1
- package/dist/lib/ai-session-tui-composer.d.ts +0 -35
- package/dist/lib/ai-session-tui-composer.js +0 -96
- package/dist/lib/ai-session-tui-composer.js.map +0 -1
- package/dist/lib/ai-session-tui-highlight.d.ts +0 -11
- package/dist/lib/ai-session-tui-highlight.js +0 -310
- package/dist/lib/ai-session-tui-highlight.js.map +0 -1
- package/dist/lib/ai-session-tui-keys.d.ts +0 -42
- package/dist/lib/ai-session-tui-keys.js +0 -159
- package/dist/lib/ai-session-tui-keys.js.map +0 -1
- package/dist/lib/ai-session-tui-mermaid-image.d.ts +0 -43
- package/dist/lib/ai-session-tui-mermaid-image.js +0 -444
- package/dist/lib/ai-session-tui-mermaid-image.js.map +0 -1
- package/dist/lib/ai-session-tui-mermaid-paint.d.ts +0 -3
- package/dist/lib/ai-session-tui-mermaid-paint.js +0 -182
- package/dist/lib/ai-session-tui-mermaid-paint.js.map +0 -1
- package/dist/lib/ai-session-tui-mermaid.d.ts +0 -19
- package/dist/lib/ai-session-tui-mermaid.js +0 -158
- package/dist/lib/ai-session-tui-mermaid.js.map +0 -1
- package/dist/lib/ai-session-tui-message.d.ts +0 -9
- package/dist/lib/ai-session-tui-message.js +0 -24
- package/dist/lib/ai-session-tui-message.js.map +0 -1
- package/dist/lib/ai-session-tui-scroll.d.ts +0 -32
- package/dist/lib/ai-session-tui-scroll.js +0 -148
- package/dist/lib/ai-session-tui-scroll.js.map +0 -1
- package/dist/lib/ai-session-tui-slash.d.ts +0 -14
- package/dist/lib/ai-session-tui-slash.js +0 -53
- package/dist/lib/ai-session-tui-slash.js.map +0 -1
- package/dist/lib/ai-session-tui-welcome.d.ts +0 -12
- package/dist/lib/ai-session-tui-welcome.js +0 -33
- package/dist/lib/ai-session-tui-welcome.js.map +0 -1
- package/dist/lib/ai-session-tui-wrap.d.ts +0 -2
- package/dist/lib/ai-session-tui-wrap.js +0 -24
- package/dist/lib/ai-session-tui-wrap.js.map +0 -1
- package/dist/lib/ai-session-tui.d.ts +0 -7
- package/dist/lib/ai-session-tui.js +0 -859
- package/dist/lib/ai-session-tui.js.map +0 -1
- package/dist/lib/ai-sessions.d.ts +0 -17
- package/dist/lib/ai-sessions.js +0 -142
- package/dist/lib/ai-sessions.js.map +0 -1
package/oclif.manifest.json
CHANGED
|
@@ -1607,157 +1607,6 @@
|
|
|
1607
1607
|
"get.js"
|
|
1608
1608
|
]
|
|
1609
1609
|
},
|
|
1610
|
-
"ai:session:list": {
|
|
1611
|
-
"aliases": [],
|
|
1612
|
-
"args": {},
|
|
1613
|
-
"description": "List Copado AI dialogue sessions",
|
|
1614
|
-
"examples": [
|
|
1615
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1616
|
-
"<%= config.bin %> <%= command.id %> --page-size 15",
|
|
1617
|
-
"<%= config.bin %> <%= command.id %> --workspace 42d0b908-37b7-4565-9ec9-86eda40c9782 --json"
|
|
1618
|
-
],
|
|
1619
|
-
"flags": {
|
|
1620
|
-
"json": {
|
|
1621
|
-
"description": "Format output as json.",
|
|
1622
|
-
"helpGroup": "GLOBAL",
|
|
1623
|
-
"name": "json",
|
|
1624
|
-
"allowNo": false,
|
|
1625
|
-
"type": "boolean"
|
|
1626
|
-
},
|
|
1627
|
-
"timeout": {
|
|
1628
|
-
"description": "AI gateway timeout in seconds.",
|
|
1629
|
-
"name": "timeout",
|
|
1630
|
-
"hasDynamicHelp": false,
|
|
1631
|
-
"multiple": false,
|
|
1632
|
-
"type": "option"
|
|
1633
|
-
},
|
|
1634
|
-
"cursor": {
|
|
1635
|
-
"description": "Opaque pagination cursor from a previous list response (nextCursor)",
|
|
1636
|
-
"name": "cursor",
|
|
1637
|
-
"hasDynamicHelp": false,
|
|
1638
|
-
"multiple": false,
|
|
1639
|
-
"type": "option"
|
|
1640
|
-
},
|
|
1641
|
-
"page-size": {
|
|
1642
|
-
"description": "Number of sessions to show (1-200)",
|
|
1643
|
-
"name": "page-size",
|
|
1644
|
-
"default": 15,
|
|
1645
|
-
"hasDynamicHelp": false,
|
|
1646
|
-
"multiple": false,
|
|
1647
|
-
"type": "option"
|
|
1648
|
-
},
|
|
1649
|
-
"workspace": {
|
|
1650
|
-
"description": "Copado AI workspace UUID to filter sessions",
|
|
1651
|
-
"name": "workspace",
|
|
1652
|
-
"hasDynamicHelp": false,
|
|
1653
|
-
"multiple": false,
|
|
1654
|
-
"type": "option"
|
|
1655
|
-
}
|
|
1656
|
-
},
|
|
1657
|
-
"hasDynamicHelp": false,
|
|
1658
|
-
"hiddenAliases": [],
|
|
1659
|
-
"id": "ai:session:list",
|
|
1660
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
1661
|
-
"pluginName": "@copado/agentia-cli",
|
|
1662
|
-
"pluginType": "core",
|
|
1663
|
-
"strict": true,
|
|
1664
|
-
"enableJsonFlag": true,
|
|
1665
|
-
"isESM": true,
|
|
1666
|
-
"relativePath": [
|
|
1667
|
-
"dist",
|
|
1668
|
-
"commands",
|
|
1669
|
-
"ai",
|
|
1670
|
-
"session",
|
|
1671
|
-
"list.js"
|
|
1672
|
-
]
|
|
1673
|
-
},
|
|
1674
|
-
"ai:session:start": {
|
|
1675
|
-
"aliases": [],
|
|
1676
|
-
"args": {},
|
|
1677
|
-
"description": "Start or resume an interactive Copado AI session",
|
|
1678
|
-
"examples": [
|
|
1679
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1680
|
-
"<%= config.bin %> <%= command.id %> --dialogue 42d0b908-37b7-4565-9ec9-86eda40c9782",
|
|
1681
|
-
"<%= config.bin %> <%= command.id %> --agent build --user-story US-1042"
|
|
1682
|
-
],
|
|
1683
|
-
"flags": {
|
|
1684
|
-
"agent": {
|
|
1685
|
-
"description": "Copado AI agent to start on",
|
|
1686
|
-
"name": "agent",
|
|
1687
|
-
"default": "orchestrate",
|
|
1688
|
-
"hasDynamicHelp": false,
|
|
1689
|
-
"multiple": false,
|
|
1690
|
-
"options": [
|
|
1691
|
-
"plan",
|
|
1692
|
-
"build",
|
|
1693
|
-
"test",
|
|
1694
|
-
"release",
|
|
1695
|
-
"operate",
|
|
1696
|
-
"knowledge",
|
|
1697
|
-
"orchestrate"
|
|
1698
|
-
],
|
|
1699
|
-
"type": "option"
|
|
1700
|
-
},
|
|
1701
|
-
"component": {
|
|
1702
|
-
"description": "Metadata component name prepended to the first prompt as context",
|
|
1703
|
-
"name": "component",
|
|
1704
|
-
"hasDynamicHelp": false,
|
|
1705
|
-
"multiple": false,
|
|
1706
|
-
"type": "option"
|
|
1707
|
-
},
|
|
1708
|
-
"dialogue": {
|
|
1709
|
-
"description": "Copado AI dialogue UUID to resume",
|
|
1710
|
-
"name": "dialogue",
|
|
1711
|
-
"hasDynamicHelp": false,
|
|
1712
|
-
"multiple": false,
|
|
1713
|
-
"type": "option"
|
|
1714
|
-
},
|
|
1715
|
-
"timeout": {
|
|
1716
|
-
"description": "AI gateway timeout in seconds.",
|
|
1717
|
-
"name": "timeout",
|
|
1718
|
-
"hasDynamicHelp": false,
|
|
1719
|
-
"multiple": false,
|
|
1720
|
-
"type": "option"
|
|
1721
|
-
},
|
|
1722
|
-
"sf-org": {
|
|
1723
|
-
"description": "Salesforce org or environment name prepended to the first prompt as context",
|
|
1724
|
-
"name": "sf-org",
|
|
1725
|
-
"hasDynamicHelp": false,
|
|
1726
|
-
"multiple": false,
|
|
1727
|
-
"type": "option"
|
|
1728
|
-
},
|
|
1729
|
-
"user-story": {
|
|
1730
|
-
"description": "Copado user story id prepended to the first prompt as context",
|
|
1731
|
-
"name": "user-story",
|
|
1732
|
-
"hasDynamicHelp": false,
|
|
1733
|
-
"multiple": false,
|
|
1734
|
-
"type": "option"
|
|
1735
|
-
},
|
|
1736
|
-
"workspace": {
|
|
1737
|
-
"description": "Override the workspace UUID from auth or AGENTIA_AI_WORKSPACE; omit to use that default",
|
|
1738
|
-
"name": "workspace",
|
|
1739
|
-
"hasDynamicHelp": false,
|
|
1740
|
-
"multiple": false,
|
|
1741
|
-
"type": "option"
|
|
1742
|
-
}
|
|
1743
|
-
},
|
|
1744
|
-
"hasDynamicHelp": false,
|
|
1745
|
-
"hiddenAliases": [],
|
|
1746
|
-
"id": "ai:session:start",
|
|
1747
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
1748
|
-
"pluginName": "@copado/agentia-cli",
|
|
1749
|
-
"pluginType": "core",
|
|
1750
|
-
"strict": true,
|
|
1751
|
-
"enableJsonFlag": false,
|
|
1752
|
-
"isESM": true,
|
|
1753
|
-
"relativePath": [
|
|
1754
|
-
"dist",
|
|
1755
|
-
"commands",
|
|
1756
|
-
"ai",
|
|
1757
|
-
"session",
|
|
1758
|
-
"start.js"
|
|
1759
|
-
]
|
|
1760
|
-
},
|
|
1761
1610
|
"ai:workspace:create": {
|
|
1762
1611
|
"aliases": [],
|
|
1763
1612
|
"args": {},
|
|
@@ -13194,102 +13043,6 @@
|
|
|
13194
13043
|
"list.js"
|
|
13195
13044
|
]
|
|
13196
13045
|
},
|
|
13197
|
-
"cicd:data:commit:create": {
|
|
13198
|
-
"aliases": [],
|
|
13199
|
-
"args": {},
|
|
13200
|
-
"description": "Create a data commit for a user story",
|
|
13201
|
-
"examples": [
|
|
13202
|
-
"<%= config.bin %> <%= command.id %> --file commit.json",
|
|
13203
|
-
"<%= config.bin %> <%= command.id %> --stdin --json"
|
|
13204
|
-
],
|
|
13205
|
-
"flags": {
|
|
13206
|
-
"json": {
|
|
13207
|
-
"description": "Format output as json.",
|
|
13208
|
-
"helpGroup": "GLOBAL",
|
|
13209
|
-
"name": "json",
|
|
13210
|
-
"allowNo": false,
|
|
13211
|
-
"type": "boolean"
|
|
13212
|
-
},
|
|
13213
|
-
"file": {
|
|
13214
|
-
"char": "f",
|
|
13215
|
-
"description": "Path to a JSON file body",
|
|
13216
|
-
"exclusive": [
|
|
13217
|
-
"stdin"
|
|
13218
|
-
],
|
|
13219
|
-
"name": "file",
|
|
13220
|
-
"hasDynamicHelp": false,
|
|
13221
|
-
"multiple": false,
|
|
13222
|
-
"type": "option"
|
|
13223
|
-
},
|
|
13224
|
-
"stdin": {
|
|
13225
|
-
"description": "Read the JSON body from stdin",
|
|
13226
|
-
"exclusive": [
|
|
13227
|
-
"file"
|
|
13228
|
-
],
|
|
13229
|
-
"name": "stdin",
|
|
13230
|
-
"allowNo": false,
|
|
13231
|
-
"type": "boolean"
|
|
13232
|
-
}
|
|
13233
|
-
},
|
|
13234
|
-
"hasDynamicHelp": false,
|
|
13235
|
-
"hiddenAliases": [],
|
|
13236
|
-
"id": "cicd:data:commit:create",
|
|
13237
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
13238
|
-
"pluginName": "@copado/agentia-cli",
|
|
13239
|
-
"pluginType": "core",
|
|
13240
|
-
"strict": true,
|
|
13241
|
-
"enableJsonFlag": true,
|
|
13242
|
-
"isESM": true,
|
|
13243
|
-
"relativePath": [
|
|
13244
|
-
"dist",
|
|
13245
|
-
"commands",
|
|
13246
|
-
"cicd",
|
|
13247
|
-
"data",
|
|
13248
|
-
"commit",
|
|
13249
|
-
"create.js"
|
|
13250
|
-
]
|
|
13251
|
-
},
|
|
13252
|
-
"cicd:data:commit:list": {
|
|
13253
|
-
"aliases": [],
|
|
13254
|
-
"args": {
|
|
13255
|
-
"userStoryId": {
|
|
13256
|
-
"description": "User story Id",
|
|
13257
|
-
"name": "userStoryId",
|
|
13258
|
-
"required": true
|
|
13259
|
-
}
|
|
13260
|
-
},
|
|
13261
|
-
"description": "List data commits for a user story",
|
|
13262
|
-
"examples": [
|
|
13263
|
-
"<%= config.bin %> <%= command.id %> a16P7000006AyU5IAK",
|
|
13264
|
-
"<%= config.bin %> <%= command.id %> a16P7000006AyU5IAK --json"
|
|
13265
|
-
],
|
|
13266
|
-
"flags": {
|
|
13267
|
-
"json": {
|
|
13268
|
-
"description": "Format output as json.",
|
|
13269
|
-
"helpGroup": "GLOBAL",
|
|
13270
|
-
"name": "json",
|
|
13271
|
-
"allowNo": false,
|
|
13272
|
-
"type": "boolean"
|
|
13273
|
-
}
|
|
13274
|
-
},
|
|
13275
|
-
"hasDynamicHelp": false,
|
|
13276
|
-
"hiddenAliases": [],
|
|
13277
|
-
"id": "cicd:data:commit:list",
|
|
13278
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
13279
|
-
"pluginName": "@copado/agentia-cli",
|
|
13280
|
-
"pluginType": "core",
|
|
13281
|
-
"strict": true,
|
|
13282
|
-
"enableJsonFlag": true,
|
|
13283
|
-
"isESM": true,
|
|
13284
|
-
"relativePath": [
|
|
13285
|
-
"dist",
|
|
13286
|
-
"commands",
|
|
13287
|
-
"cicd",
|
|
13288
|
-
"data",
|
|
13289
|
-
"commit",
|
|
13290
|
-
"list.js"
|
|
13291
|
-
]
|
|
13292
|
-
},
|
|
13293
13046
|
"cicd:data:dataset-file:content": {
|
|
13294
13047
|
"aliases": [],
|
|
13295
13048
|
"args": {
|
|
@@ -16691,6 +16444,102 @@
|
|
|
16691
16444
|
"unresolve.js"
|
|
16692
16445
|
]
|
|
16693
16446
|
},
|
|
16447
|
+
"cicd:data:commit:create": {
|
|
16448
|
+
"aliases": [],
|
|
16449
|
+
"args": {},
|
|
16450
|
+
"description": "Create a data commit for a user story",
|
|
16451
|
+
"examples": [
|
|
16452
|
+
"<%= config.bin %> <%= command.id %> --file commit.json",
|
|
16453
|
+
"<%= config.bin %> <%= command.id %> --stdin --json"
|
|
16454
|
+
],
|
|
16455
|
+
"flags": {
|
|
16456
|
+
"json": {
|
|
16457
|
+
"description": "Format output as json.",
|
|
16458
|
+
"helpGroup": "GLOBAL",
|
|
16459
|
+
"name": "json",
|
|
16460
|
+
"allowNo": false,
|
|
16461
|
+
"type": "boolean"
|
|
16462
|
+
},
|
|
16463
|
+
"file": {
|
|
16464
|
+
"char": "f",
|
|
16465
|
+
"description": "Path to a JSON file body",
|
|
16466
|
+
"exclusive": [
|
|
16467
|
+
"stdin"
|
|
16468
|
+
],
|
|
16469
|
+
"name": "file",
|
|
16470
|
+
"hasDynamicHelp": false,
|
|
16471
|
+
"multiple": false,
|
|
16472
|
+
"type": "option"
|
|
16473
|
+
},
|
|
16474
|
+
"stdin": {
|
|
16475
|
+
"description": "Read the JSON body from stdin",
|
|
16476
|
+
"exclusive": [
|
|
16477
|
+
"file"
|
|
16478
|
+
],
|
|
16479
|
+
"name": "stdin",
|
|
16480
|
+
"allowNo": false,
|
|
16481
|
+
"type": "boolean"
|
|
16482
|
+
}
|
|
16483
|
+
},
|
|
16484
|
+
"hasDynamicHelp": false,
|
|
16485
|
+
"hiddenAliases": [],
|
|
16486
|
+
"id": "cicd:data:commit:create",
|
|
16487
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
16488
|
+
"pluginName": "@copado/agentia-cli",
|
|
16489
|
+
"pluginType": "core",
|
|
16490
|
+
"strict": true,
|
|
16491
|
+
"enableJsonFlag": true,
|
|
16492
|
+
"isESM": true,
|
|
16493
|
+
"relativePath": [
|
|
16494
|
+
"dist",
|
|
16495
|
+
"commands",
|
|
16496
|
+
"cicd",
|
|
16497
|
+
"data",
|
|
16498
|
+
"commit",
|
|
16499
|
+
"create.js"
|
|
16500
|
+
]
|
|
16501
|
+
},
|
|
16502
|
+
"cicd:data:commit:list": {
|
|
16503
|
+
"aliases": [],
|
|
16504
|
+
"args": {
|
|
16505
|
+
"userStoryId": {
|
|
16506
|
+
"description": "User story Id",
|
|
16507
|
+
"name": "userStoryId",
|
|
16508
|
+
"required": true
|
|
16509
|
+
}
|
|
16510
|
+
},
|
|
16511
|
+
"description": "List data commits for a user story",
|
|
16512
|
+
"examples": [
|
|
16513
|
+
"<%= config.bin %> <%= command.id %> a16P7000006AyU5IAK",
|
|
16514
|
+
"<%= config.bin %> <%= command.id %> a16P7000006AyU5IAK --json"
|
|
16515
|
+
],
|
|
16516
|
+
"flags": {
|
|
16517
|
+
"json": {
|
|
16518
|
+
"description": "Format output as json.",
|
|
16519
|
+
"helpGroup": "GLOBAL",
|
|
16520
|
+
"name": "json",
|
|
16521
|
+
"allowNo": false,
|
|
16522
|
+
"type": "boolean"
|
|
16523
|
+
}
|
|
16524
|
+
},
|
|
16525
|
+
"hasDynamicHelp": false,
|
|
16526
|
+
"hiddenAliases": [],
|
|
16527
|
+
"id": "cicd:data:commit:list",
|
|
16528
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
16529
|
+
"pluginName": "@copado/agentia-cli",
|
|
16530
|
+
"pluginType": "core",
|
|
16531
|
+
"strict": true,
|
|
16532
|
+
"enableJsonFlag": true,
|
|
16533
|
+
"isESM": true,
|
|
16534
|
+
"relativePath": [
|
|
16535
|
+
"dist",
|
|
16536
|
+
"commands",
|
|
16537
|
+
"cicd",
|
|
16538
|
+
"data",
|
|
16539
|
+
"commit",
|
|
16540
|
+
"list.js"
|
|
16541
|
+
]
|
|
16542
|
+
},
|
|
16694
16543
|
"cicd:work:deployment-step:create": {
|
|
16695
16544
|
"aliases": [],
|
|
16696
16545
|
"args": {},
|
|
@@ -17873,5 +17722,5 @@
|
|
|
17873
17722
|
]
|
|
17874
17723
|
}
|
|
17875
17724
|
},
|
|
17876
|
-
"version": "0.
|
|
17725
|
+
"version": "0.119.0-alpha.0"
|
|
17877
17726
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copado/agentia-cli",
|
|
3
3
|
"description": "Command-line interface for Agentia",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.119.0-alpha.0",
|
|
5
5
|
"author": "Copado Solutions",
|
|
6
6
|
"bin": {
|
|
7
7
|
"agentia": "./bin/run.js"
|
|
@@ -14,12 +14,8 @@
|
|
|
14
14
|
"@oclif/core": "^4",
|
|
15
15
|
"@oclif/plugin-help": "^6",
|
|
16
16
|
"@oclif/plugin-plugins": "^5",
|
|
17
|
-
"@resvg/resvg-js": "^2.6.2",
|
|
18
17
|
"@xmldom/xmldom": "^0.9.12",
|
|
19
|
-
"beautiful-mermaid": "^1.1.3",
|
|
20
18
|
"exceljs": "^4.4.0",
|
|
21
|
-
"ink": "5.2.1",
|
|
22
|
-
"react": "18.3.1",
|
|
23
19
|
"semver": "^7.8.5",
|
|
24
20
|
"tty-table": "^5.0.0",
|
|
25
21
|
"uuid": "^14.0.1",
|
|
@@ -33,14 +29,12 @@
|
|
|
33
29
|
"@types/chai": "^4",
|
|
34
30
|
"@types/mocha": "^10",
|
|
35
31
|
"@types/node": "^18",
|
|
36
|
-
"@types/react": "18.3.18",
|
|
37
32
|
"@types/semver": "^7.8.0",
|
|
38
33
|
"@types/ws": "^8.18.1",
|
|
39
34
|
"chai": "^4",
|
|
40
35
|
"eslint": "^9",
|
|
41
36
|
"eslint-config-oclif": "^6",
|
|
42
37
|
"eslint-config-prettier": "^10",
|
|
43
|
-
"ink-testing-library": "4.0.0",
|
|
44
38
|
"mocha": "^11",
|
|
45
39
|
"oclif": "^4",
|
|
46
40
|
"shx": "^0.3.3",
|
|
@@ -92,9 +86,6 @@
|
|
|
92
86
|
"ai:quota": {
|
|
93
87
|
"description": "Inspect Copado AI quota"
|
|
94
88
|
},
|
|
95
|
-
"ai:session": {
|
|
96
|
-
"description": "List and resume Copado AI dialogue sessions"
|
|
97
|
-
},
|
|
98
89
|
"ai:workspace": {
|
|
99
90
|
"description": "Manage Copado AI workspaces"
|
|
100
91
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agentia-ai
|
|
3
|
-
description: Use this skill when prompting Copado AI agents through the Agentia CLI or MCP, including `agentia ai agent ask`, `agentia ai agent chat`,
|
|
3
|
+
description: Use this skill when prompting Copado AI agents through the Agentia CLI or MCP, including `agentia ai agent ask`, `agentia ai agent chat`, Plan, Build, Test, Release, Operate, Knowledge, workspace, dialogue, user story, Salesforce org, and component context.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
<!-- Agentia managed skill file: agentia setup skills -->
|
|
@@ -9,14 +9,14 @@ description: Use this skill when prompting Copado AI agents through the Agentia
|
|
|
9
9
|
|
|
10
10
|
Use this skill to ask Copado AI agents through Agentia with the right agent selector, workspace context, and output mode.
|
|
11
11
|
|
|
12
|
-
Prefer the `agentia_ai_ask` MCP tool when it is available for single-turn prompts. Use CLI examples as the fallback. Use `agentia ai
|
|
12
|
+
Prefer the `agentia_ai_ask` MCP tool when it is available for single-turn prompts. Use CLI examples as the fallback. Use `agentia ai agent chat` only for interactive terminal sessions.
|
|
13
13
|
|
|
14
14
|
## Start Here
|
|
15
15
|
|
|
16
16
|
1. Confirm AI auth with `agentia auth get --ai --json`. Configure missing credentials with `agentia auth set --ai ...` or the supported `AGENTIA_AI_*` environment variables.
|
|
17
|
-
2. Choose exactly one agent selector for `ask`: `--plan`, `--build`, `--test`, `--release`, `--operate`, or `--knowledge`.
|
|
18
|
-
3. Add useful context flags when available: `--workspace
|
|
19
|
-
4. Use `--json` for automation. Use `--no-stream` when the caller needs a buffered response.
|
|
17
|
+
2. Choose exactly one agent selector for `ask`: `--plan`, `--build`, `--test`, `--release`, `--operate`, or `--knowledge`.
|
|
18
|
+
3. Add useful context flags when available: `--workspace`, `--dialogue`, `--user-story`, `--sf-org`, and `--component`.
|
|
19
|
+
4. Use `--json` for automation. Use `--no-stream` when the caller needs a buffered response.
|
|
20
20
|
|
|
21
21
|
## Reference
|
|
22
22
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# AI Agents Reference
|
|
4
4
|
|
|
5
|
-
Use this reference for `agentia ai agent ask`, `agentia ai agent chat`,
|
|
5
|
+
Use this reference for `agentia ai agent ask`, `agentia ai agent chat`, and the matching `agentia_ai_ask` MCP tool.
|
|
6
6
|
|
|
7
7
|
## Authentication And Context
|
|
8
8
|
|
|
@@ -52,20 +52,6 @@ agentia ai agent chat --orchestrate --workspace <workspace-id>
|
|
|
52
52
|
|
|
53
53
|
Chat creates or reuses one dialogue for the session and supports session slash commands. It is not suitable for headless JSON workflows.
|
|
54
54
|
|
|
55
|
-
## Sessions
|
|
56
|
-
|
|
57
|
-
Prefer `session list` and `session start` for human terminal use. A session is a Copado GPT Gateway dialogue (Context Hub). `--dialogue` is that UUID, same flag as `ask` / `chat`.
|
|
58
|
-
|
|
59
|
-
```sh
|
|
60
|
-
agentia ai session list
|
|
61
|
-
agentia ai session list --page-size 15 --workspace <workspace-id> --json
|
|
62
|
-
agentia ai session start
|
|
63
|
-
agentia ai session start --dialogue <dialogue-uuid>
|
|
64
|
-
agentia ai session start --agent build --user-story US-1042
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
`session list` defaults to 15 rows (max 200) from `GET /dialogues`, newest first. `session start` is TTY-only and opens an Ink session UI (header, wrapping scrolling transcript, sticky composer, syntax-colored fences, Mermaid diagrams as filled flowchart chips (diamond / stadium / rectangle), or a pixel PNG in Kitty). Type `/` for command autocomplete (Tab completes, Enter runs, Esc dismisses). Esc cancels an in-flight turn. `/clear` wipes the local transcript; `/new` starts a new dialogue after confirm; `/copy` copies the last fenced block without `│` gutters. Drag-select still copies the screen (mouse tracking is off so the terminal can select). ←/→ move the composer cursor; ↑/↓ scroll the transcript; PgUp/PgDn (Fn+↑ / Fn+↓ on a Mac) recall previous prompts. After a reply, numbered Follow-ups can be sent with 1–5 on an empty prompt. The terminal scrollbar is not the history. Without `--dialogue` it shows a CopadoContextHub welcome; `/session` (or Resume) opens an overlay picker. Agent slash commands stay on the current dialogue: `/plan`, `/build`, `/test`, `/release`, `/operate`, `/knowledge`, `/orchestrate`, plus `/help`, `/copy`, `/clear`, `/exit`. Esc or `/cancel` dismisses the overlay. `ai agent chat` still uses the readline loop. There is no MCP tool for list or start.
|
|
68
|
-
|
|
69
55
|
## Workspace And Quota Helpers
|
|
70
56
|
|
|
71
57
|
Use these adjacent commands when the prompt workflow needs context setup:
|
|
@@ -78,8 +64,7 @@ Use these adjacent commands when the prompt workflow needs context setup:
|
|
|
78
64
|
|
|
79
65
|
## Gotchas
|
|
80
66
|
|
|
81
|
-
- `--workspace`
|
|
82
|
-
- `--user-story`, `--sf-org`, and `--component`
|
|
67
|
+
- `--workspace` selects the workspace; `--dialogue` reuses a conversation inside that workspace.
|
|
68
|
+
- `--user-story`, `--sf-org`, and `--component` enrich prompt context but do not replace a clear prompt.
|
|
83
69
|
- Streaming is human-friendly. For tools, CI, or follow-up parsing, use `--json` and consider `--no-stream`.
|
|
84
70
|
- `chat` has no MCP equivalent and should not be used in non-interactive shells.
|
|
85
|
-
- `session start` also has no MCP equivalent. Use `session list --json` to inspect dialogue IDs from scripts.
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AgentiaCommand } from '../../../lib/agentia-command.js';
|
|
2
|
-
import { type AiDialogueSummary } from '../../../lib/ai-types.js';
|
|
3
|
-
import { type PaginatedListResult } from '../../../lib/list-pagination.js';
|
|
4
|
-
export default class AiSessionList extends AgentiaCommand {
|
|
5
|
-
static description: string;
|
|
6
|
-
static examples: string[];
|
|
7
|
-
static flags: {
|
|
8
|
-
'page-size': import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
|
-
workspace: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
|
-
cursor: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
-
timeout: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
-
};
|
|
13
|
-
run(): Promise<PaginatedListResult<AiDialogueSummary>>;
|
|
14
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { Flags } from '@oclif/core';
|
|
2
|
-
import { AgentiaCommand } from '../../../lib/agentia-command.js';
|
|
3
|
-
import { aiConnectionFlags, aiGatewayCallOptions } from '../../../lib/ai-flags.js';
|
|
4
|
-
import { formatAiSessionTable, listAiSessions } from '../../../lib/ai-sessions.js';
|
|
5
|
-
import { AI_SESSION_LIST_DEFAULT_PAGE_SIZE } from '../../../lib/ai-types.js';
|
|
6
|
-
import { displayListPagination, LIST_PAGE_SIZE_MAX, LIST_PAGE_SIZE_MIN, listPaginationFlags, } from '../../../lib/list-pagination.js';
|
|
7
|
-
export default class AiSessionList extends AgentiaCommand {
|
|
8
|
-
static description = 'List Copado AI dialogue sessions';
|
|
9
|
-
static examples = [
|
|
10
|
-
'<%= config.bin %> <%= command.id %>',
|
|
11
|
-
'<%= config.bin %> <%= command.id %> --page-size 15',
|
|
12
|
-
'<%= config.bin %> <%= command.id %> --workspace 42d0b908-37b7-4565-9ec9-86eda40c9782 --json',
|
|
13
|
-
];
|
|
14
|
-
static flags = {
|
|
15
|
-
...aiConnectionFlags,
|
|
16
|
-
...listPaginationFlags,
|
|
17
|
-
'page-size': Flags.integer({
|
|
18
|
-
default: AI_SESSION_LIST_DEFAULT_PAGE_SIZE,
|
|
19
|
-
description: `Number of sessions to show (${LIST_PAGE_SIZE_MIN}-${LIST_PAGE_SIZE_MAX})`,
|
|
20
|
-
max: LIST_PAGE_SIZE_MAX,
|
|
21
|
-
min: LIST_PAGE_SIZE_MIN,
|
|
22
|
-
}),
|
|
23
|
-
workspace: Flags.string({
|
|
24
|
-
description: 'Copado AI workspace UUID to filter sessions',
|
|
25
|
-
}),
|
|
26
|
-
};
|
|
27
|
-
async run() {
|
|
28
|
-
const { flags } = await this.parse(AiSessionList);
|
|
29
|
-
const page = await this.withSpinner('Loading AI sessions', () => listAiSessions({
|
|
30
|
-
...aiGatewayCallOptions(flags),
|
|
31
|
-
cursor: flags.cursor,
|
|
32
|
-
pageSize: flags['page-size'],
|
|
33
|
-
workspace: flags.workspace,
|
|
34
|
-
}));
|
|
35
|
-
this.display(() => {
|
|
36
|
-
if (page.data.length === 0) {
|
|
37
|
-
this.log('No AI sessions found.');
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
this.log(formatAiSessionTable(page.data));
|
|
41
|
-
displayListPagination(this.log.bind(this), page);
|
|
42
|
-
});
|
|
43
|
-
return page;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=list.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../src/commands/ai/session/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAA;AAEjC,OAAO,EAAC,cAAc,EAAC,MAAM,iCAAiC,CAAA;AAC9D,OAAO,EAAC,iBAAiB,EAAE,oBAAoB,EAAC,MAAM,0BAA0B,CAAA;AAChF,OAAO,EAAC,oBAAoB,EAAE,cAAc,EAAC,MAAM,6BAA6B,CAAA;AAChF,OAAO,EAAC,iCAAiC,EAAyB,MAAM,0BAA0B,CAAA;AAClG,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,GAEpB,MAAM,iCAAiC,CAAA;AAExC,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,cAAc;IACvD,MAAM,CAAU,WAAW,GAAG,kCAAkC,CAAA;IAChE,MAAM,CAAU,QAAQ,GAAG;QACzB,qCAAqC;QACrC,oDAAoD;QACpD,6FAA6F;KAC9F,CAAA;IACD,MAAM,CAAU,KAAK,GAAG;QACtB,GAAG,iBAAiB;QACpB,GAAG,mBAAmB;QACtB,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC;YACzB,OAAO,EAAE,iCAAiC;YAC1C,WAAW,EAAE,+BAA+B,kBAAkB,IAAI,kBAAkB,GAAG;YACvF,GAAG,EAAE,kBAAkB;YACvB,GAAG,EAAE,kBAAkB;SACxB,CAAC;QACF,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC;YACtB,WAAW,EAAE,6CAA6C;SAC3D,CAAC;KACH,CAAA;IAEM,KAAK,CAAC,GAAG;QACd,MAAM,EAAC,KAAK,EAAC,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAA;QAC/C,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,qBAAqB,EAAE,GAAG,EAAE,CAC9D,cAAc,CAAC;YACb,GAAG,oBAAoB,CAAC,KAAK,CAAC;YAC9B,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,QAAQ,EAAE,KAAK,CAAC,WAAW,CAAC;YAC5B,SAAS,EAAE,KAAK,CAAC,SAAS;SAC3B,CAAC,CACH,CAAA;QAED,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE;YAChB,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC3B,IAAI,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAA;gBACjC,OAAM;YACR,CAAC;YAED,IAAI,CAAC,GAAG,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;YACzC,qBAAqB,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAA;QAClD,CAAC,CAAC,CAAA;QAEF,OAAO,IAAI,CAAA;IACb,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { AgentiaCommand } from '../../../lib/agentia-command.js';
|
|
2
|
-
import { type AiChatSessionResult } from '../../../lib/ai-chat-session.js';
|
|
3
|
-
export default class AiSessionStart extends AgentiaCommand {
|
|
4
|
-
static description: string;
|
|
5
|
-
static enableJsonFlag: boolean;
|
|
6
|
-
static examples: string[];
|
|
7
|
-
static flags: {
|
|
8
|
-
'sf-org': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
|
-
'user-story': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
|
-
workspace: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
-
timeout: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
-
agent: import("@oclif/core/interfaces").OptionFlag<"plan" | "build" | "test" | "release" | "operate" | "knowledge" | "orchestrate", import("@oclif/core/interfaces").CustomOptions>;
|
|
13
|
-
component: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
|
-
dialogue: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
|
-
};
|
|
16
|
-
run(): Promise<AiChatSessionResult>;
|
|
17
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { Flags } from '@oclif/core';
|
|
2
|
-
import { stdin as input } from 'node:process';
|
|
3
|
-
import { AgentiaCommand } from '../../../lib/agentia-command.js';
|
|
4
|
-
import { aiConnectionFlags, aiGatewayCallOptions } from '../../../lib/ai-flags.js';
|
|
5
|
-
import { runAiSessionTui } from '../../../lib/ai-session-tui.js';
|
|
6
|
-
import { AI_CHAT_AGENTS } from '../../../lib/ai-types.js';
|
|
7
|
-
export default class AiSessionStart extends AgentiaCommand {
|
|
8
|
-
static description = 'Start or resume an interactive Copado AI session';
|
|
9
|
-
static enableJsonFlag = false;
|
|
10
|
-
static examples = [
|
|
11
|
-
'<%= config.bin %> <%= command.id %>',
|
|
12
|
-
'<%= config.bin %> <%= command.id %> --dialogue 42d0b908-37b7-4565-9ec9-86eda40c9782',
|
|
13
|
-
'<%= config.bin %> <%= command.id %> --agent build --user-story US-1042',
|
|
14
|
-
];
|
|
15
|
-
static flags = {
|
|
16
|
-
agent: Flags.option({
|
|
17
|
-
default: 'orchestrate',
|
|
18
|
-
description: 'Copado AI agent to start on',
|
|
19
|
-
options: [...AI_CHAT_AGENTS],
|
|
20
|
-
})(),
|
|
21
|
-
component: Flags.string({
|
|
22
|
-
description: 'Metadata component name prepended to the first prompt as context',
|
|
23
|
-
}),
|
|
24
|
-
dialogue: Flags.string({
|
|
25
|
-
description: 'Copado AI dialogue UUID to resume',
|
|
26
|
-
}),
|
|
27
|
-
...aiConnectionFlags,
|
|
28
|
-
'sf-org': Flags.string({
|
|
29
|
-
description: 'Salesforce org or environment name prepended to the first prompt as context',
|
|
30
|
-
}),
|
|
31
|
-
'user-story': Flags.string({
|
|
32
|
-
description: 'Copado user story id prepended to the first prompt as context',
|
|
33
|
-
}),
|
|
34
|
-
workspace: Flags.string({
|
|
35
|
-
description: 'Override the workspace UUID from auth or AGENTIA_AI_WORKSPACE; omit to use that default',
|
|
36
|
-
}),
|
|
37
|
-
};
|
|
38
|
-
async run() {
|
|
39
|
-
const { flags } = await this.parse(AiSessionStart);
|
|
40
|
-
if (!input.isTTY) {
|
|
41
|
-
this.error('AI session start requires an interactive terminal. Use `agentia ai agent ask` for headless prompts.', {
|
|
42
|
-
exit: 2,
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
const options = {
|
|
46
|
-
agent: flags.agent,
|
|
47
|
-
component: flags.component,
|
|
48
|
-
dialogue: flags.dialogue,
|
|
49
|
-
loadHistory: true,
|
|
50
|
-
sameSessionAgentSwitch: true,
|
|
51
|
-
sessionCommands: true,
|
|
52
|
-
...aiGatewayCallOptions(flags),
|
|
53
|
-
sfOrg: flags['sf-org'],
|
|
54
|
-
userStory: flags['user-story'],
|
|
55
|
-
workspace: flags.workspace,
|
|
56
|
-
};
|
|
57
|
-
return runAiSessionTui(options);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
//# sourceMappingURL=start.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"start.js","sourceRoot":"","sources":["../../../../src/commands/ai/session/start.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAA;AACjC,OAAO,EAAC,KAAK,IAAI,KAAK,EAAC,MAAM,cAAc,CAAA;AAE3C,OAAO,EAAC,cAAc,EAAC,MAAM,iCAAiC,CAAA;AAE9D,OAAO,EAAC,iBAAiB,EAAE,oBAAoB,EAAC,MAAM,0BAA0B,CAAA;AAChF,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAC,cAAc,EAAe,MAAM,0BAA0B,CAAA;AAErE,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,cAAc;IACxD,MAAM,CAAU,WAAW,GAAG,kDAAkD,CAAA;IAChF,MAAM,CAAU,cAAc,GAAG,KAAK,CAAA;IACtC,MAAM,CAAU,QAAQ,GAAG;QACzB,qCAAqC;QACrC,qFAAqF;QACrF,wEAAwE;KACzE,CAAA;IACD,MAAM,CAAU,KAAK,GAAG;QACtB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC;YAClB,OAAO,EAAE,aAAa;YACtB,WAAW,EAAE,6BAA6B;YAC1C,OAAO,EAAE,CAAC,GAAG,cAAc,CAAC;SAC7B,CAAC,EAAE;QACJ,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC;YACtB,WAAW,EAAE,kEAAkE;SAChF,CAAC;QACF,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC;YACrB,WAAW,EAAE,mCAAmC;SACjD,CAAC;QACF,GAAG,iBAAiB;QACpB,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC;YACrB,WAAW,EAAE,6EAA6E;SAC3F,CAAC;QACF,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC;YACzB,WAAW,EAAE,+DAA+D;SAC7E,CAAC;QACF,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC;YACtB,WAAW,EAAE,yFAAyF;SACvG,CAAC;KACH,CAAA;IAEM,KAAK,CAAC,GAAG;QACd,MAAM,EAAC,KAAK,EAAC,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAA;QAEhD,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;YACjB,IAAI,CAAC,KAAK,CAAC,qGAAqG,EAAE;gBAChH,IAAI,EAAE,CAAC;aACR,CAAC,CAAA;QACJ,CAAC;QAED,MAAM,OAAO,GAAyB;YACpC,KAAK,EAAE,KAAK,CAAC,KAAgB;YAC7B,SAAS,EAAE,KAAK,CAAC,SAAS;YAC1B,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,WAAW,EAAE,IAAI;YACjB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE,IAAI;YACrB,GAAG,oBAAoB,CAAC,KAAK,CAAC;YAC9B,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC;YACtB,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC;YAC9B,SAAS,EAAE,KAAK,CAAC,SAAS;SAC3B,CAAA;QAED,OAAO,eAAe,CAAC,OAAO,CAAC,CAAA;IACjC,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const COPADO_CONTEXT_HUB_TITLE = "CopadoContextHub";
|
|
2
|
-
/** Compact FIGlet-style art; two lines so an 80-column terminal still fits. */
|
|
3
|
-
export declare const COPADO_CONTEXT_HUB_ART: string;
|
|
4
|
-
export declare const BANNER_GRADIENT: readonly ["cyan", "cyanBright", "blue", "blueBright", "magenta", "magentaBright"];
|
|
5
|
-
export declare function bannerUsesColor(): boolean;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export const COPADO_CONTEXT_HUB_TITLE = 'CopadoContextHub';
|
|
2
|
-
/** Compact FIGlet-style art; two lines so an 80-column terminal still fits. */
|
|
3
|
-
export const COPADO_CONTEXT_HUB_ART = [
|
|
4
|
-
' ____ _',
|
|
5
|
-
' / ___|___ _ __ __ _ __| | ___',
|
|
6
|
-
'| | / _ \\| \'_ \\ / _` |/ _` |/ _ \\',
|
|
7
|
-
'| |__| (_) | |_) | (_| | (_| | (_) |',
|
|
8
|
-
String.raw ` \____\___/| .__/ \__,_|\__,_|\___/`,
|
|
9
|
-
' |_|',
|
|
10
|
-
' ____ _ _ _ _ _',
|
|
11
|
-
' / ___|___ _ __ | |_ _____ _| |_| | | |_ _| |__',
|
|
12
|
-
'| | / _ \\| \'_ \\| __/ _ \\ \\/ / __| |_| | | | | \'_ \\',
|
|
13
|
-
'| |__| (_) | | | | || __/> <| |_| _ | |_| | |_) |',
|
|
14
|
-
String.raw ` \____\___/|_| |_|\__\___/_/\_\\__|_| |_|\__,_|_.__/`,
|
|
15
|
-
].join('\n');
|
|
16
|
-
export const BANNER_GRADIENT = ['cyan', 'cyanBright', 'blue', 'blueBright', 'magenta', 'magentaBright'];
|
|
17
|
-
export function bannerUsesColor() {
|
|
18
|
-
return process.env.NO_COLOR === undefined;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=ai-session-banner.js.map
|