@inf-monkeys-tech/monkeys-cli 0.10.6 → 0.11.1

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 (94) hide show
  1. package/README.md +0 -4
  2. package/dist/agent-work/adapters.d.ts +2 -1
  3. package/dist/agent-work/adapters.d.ts.map +1 -1
  4. package/dist/agent-work/adapters.js +111 -18
  5. package/dist/agent-work/adapters.js.map +1 -1
  6. package/dist/agent-work/client.d.ts +3 -2
  7. package/dist/agent-work/client.d.ts.map +1 -1
  8. package/dist/agent-work/client.js +13 -3
  9. package/dist/agent-work/client.js.map +1 -1
  10. package/dist/agent-work/contracts.d.ts +54 -2
  11. package/dist/agent-work/contracts.d.ts.map +1 -1
  12. package/dist/agent-work/contracts.js +31 -1
  13. package/dist/agent-work/contracts.js.map +1 -1
  14. package/dist/agent-work/polling.d.ts.map +1 -1
  15. package/dist/agent-work/polling.js +2 -2
  16. package/dist/agent-work/polling.js.map +1 -1
  17. package/dist/command-support/asset-feature-backfill.d.ts +20 -4
  18. package/dist/command-support/asset-feature-backfill.d.ts.map +1 -1
  19. package/dist/commands/agent/work/list.d.ts +1 -0
  20. package/dist/commands/agent/work/list.d.ts.map +1 -1
  21. package/dist/commands/agent/work/list.js +3 -1
  22. package/dist/commands/agent/work/list.js.map +1 -1
  23. package/dist/commands/data/asset/list.d.ts.map +1 -1
  24. package/dist/commands/data/asset/list.js +9 -5
  25. package/dist/commands/data/asset/list.js.map +1 -1
  26. package/dist/commands/data/asset/search.d.ts.map +1 -1
  27. package/dist/commands/data/asset/search.js +9 -5
  28. package/dist/commands/data/asset/search.js.map +1 -1
  29. package/dist/commands/data/view/rows.d.ts.map +1 -1
  30. package/dist/commands/data/view/rows.js +9 -5
  31. package/dist/commands/data/view/rows.js.map +1 -1
  32. package/dist/contracts/version.d.ts +2 -2
  33. package/dist/contracts/version.js +2 -2
  34. package/dist/data/asset-jsonl-import.d.ts +50 -10
  35. package/dist/data/asset-jsonl-import.d.ts.map +1 -1
  36. package/dist/data/asset-jsonl-import.js +13 -2
  37. package/dist/data/asset-jsonl-import.js.map +1 -1
  38. package/dist/data/client.d.ts +21 -3
  39. package/dist/data/client.d.ts.map +1 -1
  40. package/dist/data/client.js +132 -21
  41. package/dist/data/client.js.map +1 -1
  42. package/dist/data/command.d.ts +36 -6
  43. package/dist/data/command.d.ts.map +1 -1
  44. package/dist/data/command.js +81 -15
  45. package/dist/data/command.js.map +1 -1
  46. package/dist/data/contracts.d.ts +1 -0
  47. package/dist/data/contracts.d.ts.map +1 -1
  48. package/dist/data/contracts.js +6 -0
  49. package/dist/data/contracts.js.map +1 -1
  50. package/dist/data/cursor.d.ts +5 -1
  51. package/dist/data/cursor.d.ts.map +1 -1
  52. package/dist/data/cursor.js +12 -6
  53. package/dist/data/cursor.js.map +1 -1
  54. package/dist/data/kernel-bindings.d.ts.map +1 -1
  55. package/dist/data/kernel-bindings.js +1 -0
  56. package/dist/data/kernel-bindings.js.map +1 -1
  57. package/dist/data/ontology-command.d.ts +80 -16
  58. package/dist/data/ontology-command.d.ts.map +1 -1
  59. package/dist/data/perspective.d.ts +10 -5
  60. package/dist/data/perspective.d.ts.map +1 -1
  61. package/dist/data/perspective.js +50 -57
  62. package/dist/data/perspective.js.map +1 -1
  63. package/dist/data/resource-locator.d.ts.map +1 -1
  64. package/dist/data/resource-locator.js +9 -7
  65. package/dist/data/resource-locator.js.map +1 -1
  66. package/dist/data/view-rows.d.ts +1 -1
  67. package/dist/data/view-rows.d.ts.map +1 -1
  68. package/dist/data/view-rows.js +26 -3
  69. package/dist/data/view-rows.js.map +1 -1
  70. package/dist/data-transfer/asset-export.d.ts +10 -2
  71. package/dist/data-transfer/asset-export.d.ts.map +1 -1
  72. package/dist/data-transfer/asset-import.d.ts +10 -2
  73. package/dist/data-transfer/asset-import.d.ts.map +1 -1
  74. package/dist/data-transfer/ontology-export.d.ts +10 -2
  75. package/dist/data-transfer/ontology-export.d.ts.map +1 -1
  76. package/dist/data-transfer/ontology-import.d.ts +10 -2
  77. package/dist/data-transfer/ontology-import.d.ts.map +1 -1
  78. package/dist/openapi/contract.js +1 -1
  79. package/dist/openapi/contract.js.map +1 -1
  80. package/dist/transport/http-client.d.ts.map +1 -1
  81. package/dist/transport/http-client.js +1 -0
  82. package/dist/transport/http-client.js.map +1 -1
  83. package/dist/transport/types.d.ts +1 -0
  84. package/dist/transport/types.d.ts.map +1 -1
  85. package/oclif.manifest.json +68 -59
  86. package/package.json +2 -2
  87. package/skills/monkeys/SKILL.md +3 -3
  88. package/skills/monkeys/references/agent-work.md +6 -3
  89. package/skills/monkeys/references/compatibility.md +3 -3
  90. package/skills/monkeys/references/data-perspective.md +36 -31
  91. package/skills/monkeys/references/data-read.md +19 -7
  92. package/skills/monkeys/references/ontology-feature-search.md +5 -5
  93. package/skills/monkeys/references/ontology-model.md +2 -1
  94. package/skills/monkeys/references/safety-errors.md +1 -1
@@ -572,6 +572,13 @@
572
572
  "summary": "Return only work orders that require human attention",
573
573
  "type": "boolean"
574
574
  },
575
+ "cursor": {
576
+ "hasDynamicHelp": false,
577
+ "multiple": false,
578
+ "name": "cursor",
579
+ "summary": "Opaque Server Cursor returned by the previous page",
580
+ "type": "option"
581
+ },
575
582
  "limit": {
576
583
  "default": 20,
577
584
  "hasDynamicHelp": false,
@@ -604,13 +611,14 @@
604
611
  "multiple": false,
605
612
  "name": "status",
606
613
  "options": [
607
- "provisioning",
614
+ "preparing",
608
615
  "running",
609
- "paused",
610
- "awaiting_acceptance",
611
- "accepted",
612
- "failed",
613
- "cancelled"
616
+ "pending_review",
617
+ "pending_acceptance",
618
+ "blocked",
619
+ "completed",
620
+ "cancelled",
621
+ "failed"
614
622
  ],
615
623
  "summary": "Server status filter",
616
624
  "type": "option"
@@ -1298,13 +1306,14 @@
1298
1306
  "attention",
1299
1307
  "review",
1300
1308
  "terminal",
1301
- "provisioning",
1309
+ "preparing",
1302
1310
  "running",
1303
- "paused",
1304
- "awaiting_acceptance",
1305
- "accepted",
1306
- "failed",
1307
- "cancelled"
1311
+ "pending_review",
1312
+ "pending_acceptance",
1313
+ "blocked",
1314
+ "completed",
1315
+ "cancelled",
1316
+ "failed"
1308
1317
  ],
1309
1318
  "summary": "Stop condition",
1310
1319
  "type": "option"
@@ -2645,7 +2654,7 @@
2645
2654
  "kernel",
2646
2655
  "studio"
2647
2656
  ],
2648
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
2657
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
2649
2658
  "type": "option"
2650
2659
  },
2651
2660
  "profile": {
@@ -2765,7 +2774,7 @@
2765
2774
  "kernel",
2766
2775
  "studio"
2767
2776
  ],
2768
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
2777
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
2769
2778
  "type": "option"
2770
2779
  },
2771
2780
  "profile": {
@@ -2841,7 +2850,7 @@
2841
2850
  "kernel",
2842
2851
  "studio"
2843
2852
  ],
2844
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
2853
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
2845
2854
  "type": "option"
2846
2855
  },
2847
2856
  "profile": {
@@ -3427,7 +3436,7 @@
3427
3436
  "kernel",
3428
3437
  "studio"
3429
3438
  ],
3430
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
3439
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
3431
3440
  "type": "option"
3432
3441
  },
3433
3442
  "profile": {
@@ -3955,7 +3964,7 @@
3955
3964
  "kernel",
3956
3965
  "studio"
3957
3966
  ],
3958
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
3967
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
3959
3968
  "type": "option"
3960
3969
  },
3961
3970
  "profile": {
@@ -4063,7 +4072,7 @@
4063
4072
  "kernel",
4064
4073
  "studio"
4065
4074
  ],
4066
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
4075
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
4067
4076
  "type": "option"
4068
4077
  },
4069
4078
  "profile": {
@@ -4173,7 +4182,7 @@
4173
4182
  "kernel",
4174
4183
  "studio"
4175
4184
  ],
4176
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
4185
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
4177
4186
  "type": "option"
4178
4187
  },
4179
4188
  "profile": {
@@ -4323,7 +4332,7 @@
4323
4332
  "kernel",
4324
4333
  "studio"
4325
4334
  ],
4326
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
4335
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
4327
4336
  "type": "option"
4328
4337
  },
4329
4338
  "profile": {
@@ -4426,7 +4435,7 @@
4426
4435
  "kernel",
4427
4436
  "studio"
4428
4437
  ],
4429
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
4438
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
4430
4439
  "type": "option"
4431
4440
  },
4432
4441
  "profile": {
@@ -4501,7 +4510,7 @@
4501
4510
  "kernel",
4502
4511
  "studio"
4503
4512
  ],
4504
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
4513
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
4505
4514
  "type": "option"
4506
4515
  },
4507
4516
  "profile": {
@@ -4570,7 +4579,7 @@
4570
4579
  "kernel",
4571
4580
  "studio"
4572
4581
  ],
4573
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
4582
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
4574
4583
  "type": "option"
4575
4584
  },
4576
4585
  "profile": {
@@ -4636,7 +4645,7 @@
4636
4645
  "kernel",
4637
4646
  "studio"
4638
4647
  ],
4639
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
4648
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
4640
4649
  "type": "option"
4641
4650
  },
4642
4651
  "profile": {
@@ -4731,7 +4740,7 @@
4731
4740
  "kernel",
4732
4741
  "studio"
4733
4742
  ],
4734
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
4743
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
4735
4744
  "type": "option"
4736
4745
  },
4737
4746
  "profile": {
@@ -4824,7 +4833,7 @@
4824
4833
  "kernel",
4825
4834
  "studio"
4826
4835
  ],
4827
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
4836
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
4828
4837
  "type": "option"
4829
4838
  },
4830
4839
  "profile": {
@@ -4904,7 +4913,7 @@
4904
4913
  "kernel",
4905
4914
  "studio"
4906
4915
  ],
4907
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
4916
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
4908
4917
  "type": "option"
4909
4918
  },
4910
4919
  "profile": {
@@ -4984,7 +4993,7 @@
4984
4993
  "kernel",
4985
4994
  "studio"
4986
4995
  ],
4987
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
4996
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
4988
4997
  "type": "option"
4989
4998
  },
4990
4999
  "profile": {
@@ -5068,7 +5077,7 @@
5068
5077
  "kernel",
5069
5078
  "studio"
5070
5079
  ],
5071
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
5080
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
5072
5081
  "type": "option"
5073
5082
  },
5074
5083
  "profile": {
@@ -5159,7 +5168,7 @@
5159
5168
  "kernel",
5160
5169
  "studio"
5161
5170
  ],
5162
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
5171
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
5163
5172
  "type": "option"
5164
5173
  },
5165
5174
  "profile": {
@@ -5255,7 +5264,7 @@
5255
5264
  "kernel",
5256
5265
  "studio"
5257
5266
  ],
5258
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
5267
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
5259
5268
  "type": "option"
5260
5269
  },
5261
5270
  "profile": {
@@ -5332,7 +5341,7 @@
5332
5341
  "kernel",
5333
5342
  "studio"
5334
5343
  ],
5335
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
5344
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
5336
5345
  "type": "option"
5337
5346
  },
5338
5347
  "profile": {
@@ -5426,7 +5435,7 @@
5426
5435
  "kernel",
5427
5436
  "studio"
5428
5437
  ],
5429
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
5438
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
5430
5439
  "type": "option"
5431
5440
  },
5432
5441
  "profile": {
@@ -5536,7 +5545,7 @@
5536
5545
  "kernel",
5537
5546
  "studio"
5538
5547
  ],
5539
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
5548
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
5540
5549
  "type": "option"
5541
5550
  },
5542
5551
  "profile": {
@@ -5611,7 +5620,7 @@
5611
5620
  "kernel",
5612
5621
  "studio"
5613
5622
  ],
5614
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
5623
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
5615
5624
  "type": "option"
5616
5625
  },
5617
5626
  "profile": {
@@ -5775,7 +5784,7 @@
5775
5784
  "kernel",
5776
5785
  "studio"
5777
5786
  ],
5778
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
5787
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
5779
5788
  "type": "option"
5780
5789
  },
5781
5790
  "profile": {
@@ -5963,7 +5972,7 @@
5963
5972
  "kernel",
5964
5973
  "studio"
5965
5974
  ],
5966
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
5975
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
5967
5976
  "type": "option"
5968
5977
  },
5969
5978
  "profile": {
@@ -6058,7 +6067,7 @@
6058
6067
  "kernel",
6059
6068
  "studio"
6060
6069
  ],
6061
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
6070
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
6062
6071
  "type": "option"
6063
6072
  },
6064
6073
  "profile": {
@@ -6154,7 +6163,7 @@
6154
6163
  "kernel",
6155
6164
  "studio"
6156
6165
  ],
6157
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
6166
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
6158
6167
  "type": "option"
6159
6168
  },
6160
6169
  "profile": {
@@ -6230,7 +6239,7 @@
6230
6239
  "kernel",
6231
6240
  "studio"
6232
6241
  ],
6233
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
6242
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
6234
6243
  "type": "option"
6235
6244
  },
6236
6245
  "profile": {
@@ -6312,7 +6321,7 @@
6312
6321
  "kernel",
6313
6322
  "studio"
6314
6323
  ],
6315
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
6324
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
6316
6325
  "type": "option"
6317
6326
  },
6318
6327
  "profile": {
@@ -6397,7 +6406,7 @@
6397
6406
  "kernel",
6398
6407
  "studio"
6399
6408
  ],
6400
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
6409
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
6401
6410
  "type": "option"
6402
6411
  },
6403
6412
  "profile": {
@@ -6474,7 +6483,7 @@
6474
6483
  "kernel",
6475
6484
  "studio"
6476
6485
  ],
6477
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
6486
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
6478
6487
  "type": "option"
6479
6488
  },
6480
6489
  "profile": {
@@ -6575,7 +6584,7 @@
6575
6584
  "kernel",
6576
6585
  "studio"
6577
6586
  ],
6578
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
6587
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
6579
6588
  "type": "option"
6580
6589
  },
6581
6590
  "profile": {
@@ -6664,7 +6673,7 @@
6664
6673
  "kernel",
6665
6674
  "studio"
6666
6675
  ],
6667
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
6676
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
6668
6677
  "type": "option"
6669
6678
  },
6670
6679
  "profile": {
@@ -6740,7 +6749,7 @@
6740
6749
  "kernel",
6741
6750
  "studio"
6742
6751
  ],
6743
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
6752
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
6744
6753
  "type": "option"
6745
6754
  },
6746
6755
  "profile": {
@@ -6822,7 +6831,7 @@
6822
6831
  "kernel",
6823
6832
  "studio"
6824
6833
  ],
6825
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
6834
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
6826
6835
  "type": "option"
6827
6836
  },
6828
6837
  "profile": {
@@ -6907,7 +6916,7 @@
6907
6916
  "kernel",
6908
6917
  "studio"
6909
6918
  ],
6910
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
6919
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
6911
6920
  "type": "option"
6912
6921
  },
6913
6922
  "profile": {
@@ -7002,7 +7011,7 @@
7002
7011
  "kernel",
7003
7012
  "studio"
7004
7013
  ],
7005
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
7014
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
7006
7015
  "type": "option"
7007
7016
  },
7008
7017
  "profile": {
@@ -7091,7 +7100,7 @@
7091
7100
  "kernel",
7092
7101
  "studio"
7093
7102
  ],
7094
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
7103
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
7095
7104
  "type": "option"
7096
7105
  },
7097
7106
  "profile": {
@@ -7171,7 +7180,7 @@
7171
7180
  "kernel",
7172
7181
  "studio"
7173
7182
  ],
7174
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
7183
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
7175
7184
  "type": "option"
7176
7185
  },
7177
7186
  "profile": {
@@ -7281,7 +7290,7 @@
7281
7290
  "kernel",
7282
7291
  "studio"
7283
7292
  ],
7284
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
7293
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
7285
7294
  "type": "option"
7286
7295
  },
7287
7296
  "profile": {
@@ -7366,7 +7375,7 @@
7366
7375
  "kernel",
7367
7376
  "studio"
7368
7377
  ],
7369
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
7378
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
7370
7379
  "type": "option"
7371
7380
  },
7372
7381
  "profile": {
@@ -7461,7 +7470,7 @@
7461
7470
  "kernel",
7462
7471
  "studio"
7463
7472
  ],
7464
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
7473
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
7465
7474
  "type": "option"
7466
7475
  },
7467
7476
  "profile": {
@@ -7537,7 +7546,7 @@
7537
7546
  "kernel",
7538
7547
  "studio"
7539
7548
  ],
7540
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
7549
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
7541
7550
  "type": "option"
7542
7551
  },
7543
7552
  "profile": {
@@ -7629,7 +7638,7 @@
7629
7638
  "kernel",
7630
7639
  "studio"
7631
7640
  ],
7632
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
7641
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
7633
7642
  "type": "option"
7634
7643
  },
7635
7644
  "profile": {
@@ -7717,7 +7726,7 @@
7717
7726
  "kernel",
7718
7727
  "studio"
7719
7728
  ],
7720
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
7729
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
7721
7730
  "type": "option"
7722
7731
  },
7723
7732
  "profile": {
@@ -7820,7 +7829,7 @@
7820
7829
  "kernel",
7821
7830
  "studio"
7822
7831
  ],
7823
- "summary": "Asserts the Data perspective; does not change Session permissions or server-side routing",
7832
+ "summary": "Use only this Data perspective; when omitted, read queries use Studio first and may fall back to Kernel",
7824
7833
  "type": "option"
7825
7834
  },
7826
7835
  "profile": {
@@ -9933,5 +9942,5 @@
9933
9942
  "strict": true
9934
9943
  }
9935
9944
  },
9936
- "version": "0.10.6"
9945
+ "version": "0.11.1"
9937
9946
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inf-monkeys-tech/monkeys-cli",
3
- "version": "0.10.6",
3
+ "version": "0.11.1",
4
4
  "packageManager": "bun@1.3.14",
5
5
  "description": "Monkeys command-line client for AI agents, automation, and interactive use",
6
6
  "type": "module",
@@ -88,5 +88,5 @@
88
88
  "publishConfig": {
89
89
  "access": "public"
90
90
  },
91
- "monkeysReleaseCommit": "99135ca11823f681cfb88024c1f69d29c3c4222f"
91
+ "monkeysReleaseCommit": "634025ab31b5b796e364409ffc7bae87904bd0ce"
92
92
  }
@@ -10,7 +10,7 @@ description: 理解并通过 monkeys CLI 安全操作 Monkeys 平台的多租户
10
10
  ## 执行流程
11
11
 
12
12
  1. 运行 `monkeys version show --output json`,确认 CLI 可用和命令 Schema 兼容。若输出包含 `_notice.update`,向用户报告新版本和 `monkeys update`;只有用户明确同意升级后才执行该全局安装命令。
13
- 2. 选择明确的 `--profile`。Data 任务按[Data 视角路由](references/data-perspective.md)选择显式 `--perspective`:Kernel 全局读取默认不传 `--team`,只有用户明确筛选时才传;Field、View、Feature Value、Advanced Search 和 Asset Export 等需要数据资源定位时传已确认的 `--resource-team`。Studio 使用明确的 Team 上下文。不要在任务中途隐式切换上下文。
13
+ 2. 选择明确的 `--profile`。Data 查询只有在用户明确指定 Studio/Kernel 时才传对应的 `--perspective`;用户未指定时省略该参数,由 CLI 根据认证 Session 执行 Studio-first,并只在确定性空集合/精确资源 404 时自动升级到 Kernel。Kernel 全局读取默认不传 `--team`;需要数据资源定位时传已确认的 `--resource-team`。Team `0` 是共享/系统数据分区,不是“所有 Team”。以 CLI 的 `perspectiveResolution` 为路由真相,不由 Skill 手工换视角重试。
14
14
  3. 在第一次使用命令或参数不确定时运行 `monkeys <命令> --help`。以 CLI 帮助为参数真相,不凭记忆补参数。
15
15
  4. 优先调用 Workflow、Execution、Agent Work、File、Data、System Config 等语义命令,并使用 `--output json`。解析结构化结果和退出码,不解析面向人的 Text 文案。
16
16
  5. 写操作前向用户回显 Profile、`teamMode`、实际生效的 Team(若有)、Ontology、实际 Data 合同、Data Perspective、精确目标 ID 或 System Config Key。目标模糊时先查询,禁止猜测。
@@ -41,7 +41,7 @@ description: 理解并通过 monkeys CLI 安全操作 Monkeys 平台的多租户
41
41
  - Agent 必须使用 `auth login --url <Endpoint> --no-wait --output json` 发起浏览器登录,把原样授权 URL 交给用户,并在用户确认完成后用同一次返回的临时 `profile` 与 `--device-code` 完成轮询;不得自行填写网页登录表单或跨 Endpoint 复用 Device Code。
42
42
  - 登录成功后必须以 `/api/configs` 返回的已认证 `tenantId` 作为订阅/Profile 名;不得从 URL 主机名猜租户名。
43
43
  - 不覆盖认证、Tenant、Team、Data Perspective 等受保护 Header。
44
- - 不把 Session 的 `currentTeamId` 或 CLI 返回的 `resourceLocator.teamId` 描述为 Kernel 全局查询作用域,也不为 Kernel 全局读取手工补 `--team`。不得用 Ontology owner Team 猜测 `--resource-team`;缺少已确认值时在聊天中告知并停止。
44
+ - 不把 Session 的 `currentTeamId` 或 CLI 返回的 `resourceLocator.teamId` 描述为 Kernel 全局查询作用域,也不为 Kernel 全局读取手工补 `--team`。不得用 Ontology owner Team 猜测 `--resource-team`,也不得把 `0` 当默认兜底;只有用户明确指定或权威资源元数据确认共享/系统分区时才使用 Team `0`。缺少已确认值时在聊天中告知并停止。
45
45
  - 不把 Public/Shared/可读理解为可写;服务端授权是最终判断。
46
46
  - 不执行 Ontology/Bucket Delete、Container Purge、批量 Trash 或语义层未提供的永久清理。
47
47
  - 不把 `data container remove` 描述为删除 Asset;它只移除 Membership,可从 Trash 恢复。
@@ -56,5 +56,5 @@ description: 理解并通过 monkeys CLI 安全操作 Monkeys 平台的多租户
56
56
  - 完整 Ontology 迁移必须区分 owner Team 与 data resource Team:结构命令显式传 `--team` 和需要时的 `--resource-team`;Kernel Asset Export 用 `--resource-team` 定位读取资源,Asset Import 等写命令仍用 `--team` 指定目标数据 Team。包含 Field、Tag 或 View 引用的 Asset 导入必须传同一次真实 Ontology 导入生成的 `--ontology-report`,并在聊天中说明目标视角与 Team;不得用同名匹配或来源 ID 猜测。
57
57
  - System Config 只允许 Kernel Profile;Team 仅是身份上下文,不是配置作用域。敏感 Key 只允许通过 `config set --value-stdin` 写入。
58
58
  - Agent Work 只允许 Kernel Profile,固定 `teamMode=none`,不得传入或继承 Team,也不得在权限不足时静默改用 Studio。
59
- - Agent Work 出现 `user_input_required`、`spec_approval_required`、`awaiting_acceptance`、失败或超时时,必须在聊天中明确告诉用户;`MUTATION_OUTCOME_UNKNOWN` 时只做只读恢复检查。
59
+ - Agent Work 出现 `user_input_required`、`spec_approval_required`、`pending_review`、`pending_acceptance`、`blocked`、失败或超时时,必须在聊天中明确告诉用户;`MUTATION_OUTCOME_UNKNOWN` 时只做只读恢复检查。
60
60
  - Agent Work 的聊天反馈必须面向人的任务与决策,并按当前 Agent 和聊天界面的可靠显示能力自适应呈现;不得把某个 Profile、租户或 Markdown 组件写成固定前提,也不得默认倾倒原始 JSON。
@@ -17,12 +17,15 @@ OpenAPI 不可用时,CLI 可以使用经过测试的精确内置合同;输
17
17
  ```bash
18
18
  monkeys agent work list --profile <Profile> --limit 20 --output json
19
19
  monkeys agent work list --profile <Profile> --attention-required --output json
20
+ monkeys agent work list --profile <Profile> --cursor <Cursor> --output json
20
21
  monkeys agent work get <ID> --profile <Profile> --output json
21
22
  monkeys agent work collaborators --profile <Profile> --output json
22
23
  monkeys agent work runtime list [<ID>] --profile <Profile> --output json
23
24
  ```
24
25
 
25
- - `list` 默认最多输出 20 条;以 `serverTotal`、`returned`、`truncated` 判断截断,不循环无界获取。
26
+ - `list` 默认最多输出 20 条,单页上限 100;以 `serverTotal`、`returned`、`truncated` 和 `pageInfo.nextCursor` 判断截断。只有用户要求继续时才携带 Cursor 读取下一页,不循环无界获取。
27
+ - 工作单 canonical `status` 为 `preparing|running|pending_review|pending_acceptance|blocked|completed|cancelled|failed`。`phase` 表示任务生命周期阶段,`attentionState` 表示当前是否需要用户动作,三者不得互相替代。
28
+ - `collaborators` 是 Runtime 视图:使用 `operationalState=working|waiting_user|blocked|idle|offline|error` 描述 Runtime 当前可操作状态,并通过 `assignments` 关联工作单。不得用 Runtime 的 `status` 代替工作单状态。
26
29
  - 临时引用图、Preview 和对象存储 URL 不在稳定输出中。不得要求 Raw API 回显这些 URL。
27
30
  - 普通 Kernel 用户可能只能看到自己创建的工作单,超级管理员可能看到全局列表;空结果不能解释为 Team 过滤。
28
31
 
@@ -91,11 +94,11 @@ monkeys agent work watch <ID> --profile <Profile>
91
94
  列表列数较多、单元格内容较长或界面能力未知时,不强行使用表格。创建或执行写操作前,用当前界面能稳定显示的方式回显 Profile、Kernel/`teamMode=none`、标题、类型、优先级、仓库与 Ref、分配方式及可能副作用,再等待对该精确操作的明确授权。
92
95
 
93
96
  - `until=attention`:`user_input_required`、`spec_approval_required` 或 `blocked`。
94
- - `until=review`:需要 Spec 审批或进入 `awaiting_acceptance`。
97
+ - `until=review`:需要 Spec 审批,或进入 `pending_review` / `pending_acceptance`。
95
98
  - `watch` 使用 NDJSON,只在 `status/phase/attentionState` 变化时输出;Ctrl+C 只停止本地观察。
96
99
  - 遇到 `user_input_required`:在聊天中展示工作单 ID 和安全摘要,向用户索取决定。
97
100
  - 遇到 `spec_approval_required`:读取详情,报告 Spec Revision ID 与摘要,等待批准或修订意见。
98
- - 遇到 `awaiting_acceptance`:报告 Review Pack 的安全摘要和测试状态,等待验收决定。
101
+ - 遇到 `pending_review`:报告当前验证/Review 状态;遇到 `pending_acceptance`:报告 Review Pack 的安全摘要和测试状态,等待验收决定。
99
102
  - 遇到 `failed`、`blocked` 或超时:报告最后状态、阶段、错误 code 和恢复建议,不自动 retry。
100
103
 
101
104
  ## 结果未知
@@ -1,6 +1,6 @@
1
1
  # 兼容性
2
2
 
3
- - 本 Skill 面向命令 Schema Major `1`,最低 CLI 版本 `0.10.0`。
3
+ - 本 Skill 面向命令 Schema Major `2`,最低 CLI 版本 `0.11.0`。
4
4
  - 开始任务时运行 `monkeys version show --output json`。
5
5
  - 任意结构化输出中的 `_notice.update` 表示 npm `latest` 高于当前 CLI;报告 `current`、`latest` 与 `command`。可用 `monkeys update --check --output json` 实时复核,只有用户明确授权后才运行 `monkeys update` 或 `monkeys update --force`。
6
6
  - `monkeys update` 升级全局 npm 包后,从新包的全局安装目录同步同版本 `monkeys` Skill;若 CLI 已升级但 `skillsAction=failed`,报告警告并在用户同意后用 `monkeys update --force` 重试,不回滚或猜测 Skill 路径。
@@ -8,11 +8,11 @@
8
8
  - OpenAPI Snapshot 可动态刷新,但语义命令合同不会因刷新而被静默改写。
9
9
  - Data 合同由 Deployment 的 `data_contract=auto|ontology-v1|bucket-v1` 决定;`auto` 依次采用精确 OpenAPI、同一上下文缓存和有界只读探测。只有 Ontology 路由明确返回 404 时才探测旧 Bucket 路由。
10
10
  - 输出中的 `dataContractVariant` 和 `dataScope` 是当前请求的合同/作用域真相。认证、授权、网络、5xx 或响应不兼容不得触发合同切换,已发送写操作不得换合同重放。
11
- - Data 语义命令应显式传 `--perspective kernel|studio`;以输出中的 `requestedPerspective`、`effectivePerspective`、`perspectiveSource` 和 Perspective-aware `contextFingerprint` 判断视角。`legacy-unverified` 不能作为实际视角真相;不得根据 Profile 名称或请求参数猜测。
11
+ - 用户明确指定 Data 视角时传 `--perspective kernel|studio`;未指定时省略。以输出中的 `requestedPerspective`、`effectivePerspective`、`perspectiveSource`、`perspectiveResolution` 和 Perspective-aware `contextFingerprint` 判断实际路由;不得根据 Profile 名称猜测。
12
12
  - Data 输出中的 `teamMode=none|filter|context` 表示 CLI 是否施加 Team;只有存在 `effectiveTeamId` 时才能报告具体筛选/上下文 Team。Kernel 全局读取必须为 `teamMode=none`;可选 `resourceLocator.kind=ontology-resource-team`、`source=explicit-flag` 只表示 Ontology 数据资源定位,不改变 Team 模式。CLI 不从 owner Team 自动推导 locator。
13
13
  - 出现 Binding 漂移时按受控降级流程处理,不猜测 operationId。
14
14
  - Execution 列表可能适配 `legacy-list-v1` 或 `db-search-summary-v1`;以输出的 `contractVariant` 为诊断依据,只消费稳定字段。
15
- - Agent Work 优先使用部署 OpenAPI 的精确 method/path;OpenAPI 不可用时可使用 `agent-work-v1`、`agent-work-list-v1`、`agent-work-collection-v1` 等内置适配器。必须同时检查 `schemaSource`、`schemaFresh` 和 `adapter`,未知响应不得原样透传或猜字段。
15
+ - Agent Work 优先使用部署 OpenAPI 的精确 method/path;OpenAPI 不可用时可使用 `agent-work-v1`、`agent-work-list-v1`、`agent-work-collection-v1` 等内置适配器。必须同时检查 `schemaSource`、`schemaFresh` 和 `adapter`。Issue 状态只接受 canonical 值或文档化的旧值映射;未知状态必须作为 `SEMANTIC_RESPONSE_INCOMPATIBLE` 停止处理,不得静默归类。
16
16
  - Agent Work 固定为 Kernel Surface 和 `teamMode=none`。它与 Data Perspective 路由无关,权限不足不得切换 Studio,也不得把 Session `currentTeamId` 注入请求。
17
17
  - 不同部署可能不返回列表条目的 Team、Workflow 版本等可选字段。字段缺失时不得根据请求上下文或相似字段推断、补造。
18
18
  - `OPENAPI_UNAVAILABLE` 表示无法完成受控 Raw API 降级;停止降级并报告恢复建议,不得复用已过期 Evidence 或改为直接 HTTP。