@onesi/genesis 0.2.8 → 0.2.9

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.
@@ -75,7 +75,7 @@ export const services = [
75
75
  "name": "minds",
76
76
  "title": "Minds (dedicated memory)",
77
77
  "upstream": "https://console.life.one/api/v1/minds",
78
- "operations": 191
78
+ "operations": 192
79
79
  },
80
80
  {
81
81
  "name": "traces",
@@ -144,7 +144,7 @@ export const services = [
144
144
  "title": "Genesis gateway (native reads)",
145
145
  "upstream": "https://os.one.ml/api",
146
146
  "gatewayRoute": "dedicated",
147
- "operations": 29
147
+ "operations": 36
148
148
  },
149
149
  {
150
150
  "name": "taps",
@@ -28039,7 +28039,7 @@ export const operationTable = {
28039
28039
  "method": "POST",
28040
28040
  "path": "/v1/fleets/seats/{seat_id}/top-up",
28041
28041
  "service": "fleets",
28042
- "summary": "Add credits to a seat's purse",
28042
+ "summary": "Add credits (and optionally computer minutes) to a seat's purse",
28043
28043
  "upstream": {
28044
28044
  "base": "https://fleets-wueoxao7jq-uc.a.run.app",
28045
28045
  "method": "POST",
@@ -28072,8 +28072,15 @@ export const operationTable = {
28072
28072
  "properties": {
28073
28073
  "credits": {
28074
28074
  "type": "integer",
28075
- "minimum": 1,
28076
- "maximum": 100000000
28075
+ "minimum": 0,
28076
+ "maximum": 100000000,
28077
+ "description": "May be 0 when computer_minutes is above 0"
28078
+ },
28079
+ "computer_minutes": {
28080
+ "type": "integer",
28081
+ "minimum": 0,
28082
+ "maximum": 100000000,
28083
+ "description": "Added to the seat's computer entitlement; not for helper or pooled seats"
28077
28084
  },
28078
28085
  "idempotency_key": {
28079
28086
  "type": "string",
@@ -37259,7 +37266,7 @@ export const operationTable = {
37259
37266
  "method": "POST",
37260
37267
  "path": "/v1/minds/services",
37261
37268
  "service": "minds",
37262
- "summary": "Create one capped Sandbox Mind; retain the same operation key after uncertainty",
37269
+ "summary": "Create one capped Mind in the selected environment; retain the same operation key after uncertainty",
37263
37270
  "upstream": {
37264
37271
  "base": "https://console.life.one/api/v1/minds",
37265
37272
  "method": "POST",
@@ -37285,9 +37292,9 @@ export const operationTable = {
37285
37292
  "properties": {
37286
37293
  "name": {
37287
37294
  "type": "string",
37288
- "pattern": "^Sandbox(?: .+)?$",
37289
37295
  "maxLength": 80,
37290
- "description": "Mind on existing Sandbox placement; capacity and tenant are server owned."
37296
+ "description": "Sandbox: \"Sandbox\" or \"Sandbox <label>\". Live: any non-blank name. At most 80 bytes after trimming; capacity and tenant are server owned.",
37297
+ "minLength": 1
37291
37298
  },
37292
37299
  "plan": {
37293
37300
  "type": "string",
@@ -40953,6 +40960,38 @@ export const operationTable = {
40953
40960
  "additionalProperties": false
40954
40961
  }
40955
40962
  },
40963
+ "minds_engineKnowledgeGraphGetGraphMicrotheory": {
40964
+ "method": "GET",
40965
+ "path": "/v1/minds/services/{mind_id}/engine/v1/graph/microtheory",
40966
+ "service": "minds",
40967
+ "summary": "knowledge-graph: GET /v1/graph/microtheory",
40968
+ "upstream": {
40969
+ "base": "https://console.life.one/api/v1/minds",
40970
+ "method": "GET",
40971
+ "path": "/v1/services/{mind_id}/engine/v1/graph/microtheory"
40972
+ },
40973
+ "mcp": false,
40974
+ "internal": false,
40975
+ "public": false,
40976
+ "pathParams": [
40977
+ "mind_id"
40978
+ ],
40979
+ "queryParams": [],
40980
+ "hasBody": false,
40981
+ "inputSchema": {
40982
+ "type": "object",
40983
+ "properties": {
40984
+ "mind_id": {
40985
+ "type": "string",
40986
+ "format": "uuid"
40987
+ }
40988
+ },
40989
+ "required": [
40990
+ "mind_id"
40991
+ ],
40992
+ "additionalProperties": false
40993
+ }
40994
+ },
40956
40995
  "minds_engineKnowledgeGraphPostGraphMicrotheoryKeyspace": {
40957
40996
  "method": "POST",
40958
40997
  "path": "/v1/minds/services/{mind_id}/engine/v1/graph/microtheory/keyspace",
@@ -60731,6 +60770,313 @@ export const operationTable = {
60731
60770
  "additionalProperties": false
60732
60771
  }
60733
60772
  },
60773
+ "gateway_getCredits": {
60774
+ "method": "GET",
60775
+ "path": "/v1/credits",
60776
+ "service": "gateway",
60777
+ "summary": "Your One credit balance",
60778
+ "upstream": {
60779
+ "base": "https://os.one.ml/api",
60780
+ "method": "GET",
60781
+ "path": "/v1/credits"
60782
+ },
60783
+ "mcp": true,
60784
+ "internal": false,
60785
+ "public": false,
60786
+ "pathParams": [],
60787
+ "queryParams": [],
60788
+ "hasBody": false,
60789
+ "inputSchema": {
60790
+ "type": "object",
60791
+ "properties": {},
60792
+ "required": [],
60793
+ "additionalProperties": false
60794
+ }
60795
+ },
60796
+ "gateway_listCreditEntries": {
60797
+ "method": "GET",
60798
+ "path": "/v1/credits/entries",
60799
+ "service": "gateway",
60800
+ "summary": "Your One credit ledger",
60801
+ "upstream": {
60802
+ "base": "https://os.one.ml/api",
60803
+ "method": "GET",
60804
+ "path": "/v1/credits/entries"
60805
+ },
60806
+ "mcp": true,
60807
+ "internal": false,
60808
+ "public": false,
60809
+ "pathParams": [],
60810
+ "queryParams": [
60811
+ "limit",
60812
+ "before"
60813
+ ],
60814
+ "hasBody": false,
60815
+ "inputSchema": {
60816
+ "type": "object",
60817
+ "properties": {
60818
+ "limit": {
60819
+ "type": "integer",
60820
+ "minimum": 1,
60821
+ "maximum": 100,
60822
+ "description": "Entries per page (default set by the service)"
60823
+ },
60824
+ "before": {
60825
+ "type": "string",
60826
+ "pattern": "^[A-Za-z0-9_\\-:.]{1,128}$",
60827
+ "description": "The next_before cursor of the previous page"
60828
+ }
60829
+ },
60830
+ "required": [],
60831
+ "additionalProperties": false
60832
+ }
60833
+ },
60834
+ "gateway_listCreditUsage": {
60835
+ "method": "GET",
60836
+ "path": "/v1/credits/usage",
60837
+ "service": "gateway",
60838
+ "summary": "Credits spent by a run or turn",
60839
+ "upstream": {
60840
+ "base": "https://os.one.ml/api",
60841
+ "method": "GET",
60842
+ "path": "/v1/credits/usage"
60843
+ },
60844
+ "mcp": true,
60845
+ "internal": false,
60846
+ "public": false,
60847
+ "pathParams": [],
60848
+ "queryParams": [
60849
+ "ref"
60850
+ ],
60851
+ "hasBody": false,
60852
+ "inputSchema": {
60853
+ "type": "object",
60854
+ "properties": {
60855
+ "ref": {
60856
+ "type": "string",
60857
+ "pattern": "^[\\x21-\\x7e]{1,200}$",
60858
+ "description": "The Henry run id (henry:<run>:<phase>) or receipt id: 1 to 200 visible ASCII characters"
60859
+ }
60860
+ },
60861
+ "required": [],
60862
+ "additionalProperties": false
60863
+ }
60864
+ },
60865
+ "gateway_updateCreditSettings": {
60866
+ "method": "PATCH",
60867
+ "path": "/v1/credits/settings",
60868
+ "service": "gateway",
60869
+ "summary": "Change your borrow ceiling and auto-refill",
60870
+ "upstream": {
60871
+ "base": "https://os.one.ml/api",
60872
+ "method": "PATCH",
60873
+ "path": "/v1/credits/settings"
60874
+ },
60875
+ "mcp": true,
60876
+ "internal": false,
60877
+ "public": false,
60878
+ "pathParams": [],
60879
+ "queryParams": [],
60880
+ "hasBody": true,
60881
+ "requestContentType": "application/json",
60882
+ "idempotencyKey": "required",
60883
+ "inputSchema": {
60884
+ "type": "object",
60885
+ "properties": {
60886
+ "body": {
60887
+ "type": "object",
60888
+ "additionalProperties": false,
60889
+ "minProperties": 1,
60890
+ "properties": {
60891
+ "borrow_ceiling_credits": {
60892
+ "type": "number",
60893
+ "minimum": 0,
60894
+ "maximum": 1000000000
60895
+ },
60896
+ "auto_refill": {
60897
+ "type": "object",
60898
+ "additionalProperties": false,
60899
+ "required": [
60900
+ "enabled"
60901
+ ],
60902
+ "properties": {
60903
+ "enabled": {
60904
+ "type": "boolean"
60905
+ },
60906
+ "pack": {
60907
+ "type": "integer",
60908
+ "enum": [
60909
+ 10,
60910
+ 25,
60911
+ 50
60912
+ ]
60913
+ },
60914
+ "monthly_ceiling_credits": {
60915
+ "type": "number",
60916
+ "minimum": 0,
60917
+ "maximum": 1000000000
60918
+ }
60919
+ }
60920
+ }
60921
+ }
60922
+ }
60923
+ },
60924
+ "required": [
60925
+ "body"
60926
+ ],
60927
+ "additionalProperties": false
60928
+ }
60929
+ },
60930
+ "gateway_createCreditCheckout": {
60931
+ "method": "POST",
60932
+ "path": "/v1/credits/checkout",
60933
+ "service": "gateway",
60934
+ "summary": "Start a Stripe Checkout for a plan, seats or a credit pack",
60935
+ "upstream": {
60936
+ "base": "https://os.one.ml/api",
60937
+ "method": "POST",
60938
+ "path": "/v1/credits/checkout"
60939
+ },
60940
+ "mcp": true,
60941
+ "internal": false,
60942
+ "public": false,
60943
+ "pathParams": [],
60944
+ "queryParams": [],
60945
+ "hasBody": true,
60946
+ "requestContentType": "application/json",
60947
+ "idempotencyKey": "required",
60948
+ "inputSchema": {
60949
+ "type": "object",
60950
+ "properties": {
60951
+ "body": {
60952
+ "type": "object",
60953
+ "additionalProperties": false,
60954
+ "required": [
60955
+ "items"
60956
+ ],
60957
+ "properties": {
60958
+ "items": {
60959
+ "type": "array",
60960
+ "minItems": 1,
60961
+ "maxItems": 10,
60962
+ "items": {
60963
+ "type": "object",
60964
+ "required": [
60965
+ "lookup_key",
60966
+ "quantity"
60967
+ ],
60968
+ "properties": {
60969
+ "lookup_key": {
60970
+ "type": "string",
60971
+ "pattern": "^one_[a-z0-9_]{1,56}$",
60972
+ "description": "A Stripe price lookup key of the One catalog (one_one_monthly",
60973
+ "one_pack_25": null,
60974
+ "...)": null
60975
+ },
60976
+ "quantity": {
60977
+ "type": "integer",
60978
+ "minimum": 1,
60979
+ "maximum": 1000
60980
+ }
60981
+ }
60982
+ }
60983
+ }
60984
+ }
60985
+ }
60986
+ },
60987
+ "required": [
60988
+ "body"
60989
+ ],
60990
+ "additionalProperties": false
60991
+ }
60992
+ },
60993
+ "gateway_changeCreditSubscription": {
60994
+ "method": "POST",
60995
+ "path": "/v1/credits/subscription",
60996
+ "service": "gateway",
60997
+ "summary": "Change your plan or seats",
60998
+ "upstream": {
60999
+ "base": "https://os.one.ml/api",
61000
+ "method": "POST",
61001
+ "path": "/v1/credits/subscription"
61002
+ },
61003
+ "mcp": true,
61004
+ "internal": false,
61005
+ "public": false,
61006
+ "pathParams": [],
61007
+ "queryParams": [],
61008
+ "hasBody": true,
61009
+ "requestContentType": "application/json",
61010
+ "idempotencyKey": "required",
61011
+ "inputSchema": {
61012
+ "type": "object",
61013
+ "properties": {
61014
+ "body": {
61015
+ "type": "object",
61016
+ "additionalProperties": false,
61017
+ "required": [
61018
+ "items"
61019
+ ],
61020
+ "properties": {
61021
+ "items": {
61022
+ "type": "array",
61023
+ "minItems": 1,
61024
+ "maxItems": 10,
61025
+ "items": {
61026
+ "type": "object",
61027
+ "required": [
61028
+ "lookup_key",
61029
+ "quantity"
61030
+ ],
61031
+ "properties": {
61032
+ "lookup_key": {
61033
+ "type": "string",
61034
+ "pattern": "^one_[a-z0-9_]{1,56}$",
61035
+ "description": "A Stripe price lookup key of the One catalog (one_one_monthly",
61036
+ "one_pack_25": null,
61037
+ "...)": null
61038
+ },
61039
+ "quantity": {
61040
+ "type": "integer",
61041
+ "minimum": 1,
61042
+ "maximum": 1000
61043
+ }
61044
+ }
61045
+ }
61046
+ }
61047
+ }
61048
+ }
61049
+ },
61050
+ "required": [
61051
+ "body"
61052
+ ],
61053
+ "additionalProperties": false
61054
+ }
61055
+ },
61056
+ "gateway_cancelCreditSubscription": {
61057
+ "method": "DELETE",
61058
+ "path": "/v1/credits/subscription",
61059
+ "service": "gateway",
61060
+ "summary": "Cancel your subscription at the end of the period",
61061
+ "upstream": {
61062
+ "base": "https://os.one.ml/api",
61063
+ "method": "DELETE",
61064
+ "path": "/v1/credits/subscription"
61065
+ },
61066
+ "mcp": true,
61067
+ "internal": false,
61068
+ "public": false,
61069
+ "pathParams": [],
61070
+ "queryParams": [],
61071
+ "hasBody": false,
61072
+ "idempotencyKey": "required",
61073
+ "inputSchema": {
61074
+ "type": "object",
61075
+ "properties": {},
61076
+ "required": [],
61077
+ "additionalProperties": false
61078
+ }
61079
+ },
60734
61080
  "taps_listTaps": {
60735
61081
  "method": "GET",
60736
61082
  "path": "/v1/taps/taps",