buckyos 0.7.193 → 0.7.197

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 (78) hide show
  1. package/cli/README.md +20 -0
  2. package/cli/core/app.ts +1 -0
  3. package/cli/core/argv.ts +4 -0
  4. package/cli/dist/cli.mjs +218 -392
  5. package/cli/dist/cli.mjs.map +1 -1
  6. package/cli/modules/aiws.ts +11 -3
  7. package/cli/modules/obj.ts +70 -3
  8. package/cli/runtime/host.ts +2 -0
  9. package/cli/version.ts +1 -1
  10. package/dist/{aiws_bind-ec6fe2d5.mjs → aiws_bind-a96cb506.mjs} +135 -31
  11. package/dist/aiws_bind-a96cb506.mjs.map +1 -0
  12. package/dist/aiws_bind-fb4caf43.js +2 -0
  13. package/dist/aiws_bind-fb4caf43.js.map +1 -0
  14. package/dist/aiws_ext.cjs +1 -1
  15. package/dist/aiws_ext.mjs +1 -1
  16. package/dist/aiws_rrule.d.ts +3 -2
  17. package/dist/aiws_rrule.d.ts.map +1 -1
  18. package/dist/aiws_schedule.d.ts +14 -2
  19. package/dist/aiws_schedule.d.ts.map +1 -1
  20. package/dist/{aiws_write-1f179e1c.js → aiws_write-189e4c0e.js} +2 -2
  21. package/dist/aiws_write-189e4c0e.js.map +1 -0
  22. package/dist/{aiws_write-07562abc.mjs → aiws_write-7078045b.mjs} +2 -2
  23. package/dist/aiws_write-7078045b.mjs.map +1 -0
  24. package/dist/browser.cjs +1 -1
  25. package/dist/browser.mjs +4 -4
  26. package/dist/{content_objid-7605d166.mjs → content_objid-20b82f52.mjs} +2 -2
  27. package/dist/{content_objid-7605d166.mjs.map → content_objid-20b82f52.mjs.map} +1 -1
  28. package/dist/{content_objid-17daaa69.js → content_objid-d1d089a6.js} +2 -2
  29. package/dist/{content_objid-17daaa69.js.map → content_objid-d1d089a6.js.map} +1 -1
  30. package/dist/hybrid_sso.d.ts +37 -2
  31. package/dist/hybrid_sso.d.ts.map +1 -1
  32. package/dist/index.cjs +1 -1
  33. package/dist/index.mjs +4 -4
  34. package/dist/node.cjs +1 -1
  35. package/dist/node.mjs +3 -3
  36. package/dist/owner-extensions/object_extensions.toml +160 -0
  37. package/dist/owner-extensions/profiles/bindings.json +165 -0
  38. package/dist/owner-extensions/profiles/calendar.json +489 -0
  39. package/dist/owner-extensions/profiles/contacts.json +89 -0
  40. package/dist/owner-extensions/profiles/person.json +193 -0
  41. package/dist/owner-extensions/profiles/sharing.json +65 -0
  42. package/dist/owner-extensions/profiles/todo.json +493 -0
  43. package/dist/owner-extensions/scripts/bindings.mjs +9 -0
  44. package/dist/owner-extensions/scripts/calendar.mjs +3 -0
  45. package/dist/owner-extensions/scripts/contacts.mjs +9 -0
  46. package/dist/owner-extensions/scripts/free_busy.mjs +666 -0
  47. package/dist/owner-extensions/scripts/person.mjs +11 -0
  48. package/dist/owner-extensions/scripts/schedule.mjs +2618 -0
  49. package/dist/owner-extensions/scripts/sharing.mjs +8 -0
  50. package/dist/owner-extensions/scripts/todo.mjs +3 -0
  51. package/dist/owner_availability.d.ts +15 -0
  52. package/dist/owner_availability.d.ts.map +1 -0
  53. package/dist/owner_schedule.d.ts +30 -0
  54. package/dist/owner_schedule.d.ts.map +1 -0
  55. package/dist/site_manager-716a2cf5.js +2 -0
  56. package/dist/site_manager-716a2cf5.js.map +1 -0
  57. package/dist/{site_manager-8adb478e.mjs → site_manager-91b4d899.mjs} +29 -14
  58. package/dist/site_manager-91b4d899.mjs.map +1 -0
  59. package/dist/xllm/core/action_parser.d.ts.map +1 -1
  60. package/dist/xllm/core/behavior_result.d.ts.map +1 -1
  61. package/dist/xllm/core/loop.d.ts.map +1 -1
  62. package/dist/xllm/core/protocol.d.ts.map +1 -1
  63. package/dist/xllm/core/types.d.ts +2 -0
  64. package/dist/xllm/core/types.d.ts.map +1 -1
  65. package/dist/xllm.cjs +1 -1
  66. package/dist/xllm.mjs +2 -2
  67. package/dist/xllm_deno.cjs +1 -1
  68. package/dist/xllm_deno.mjs +1 -1
  69. package/package.json +2 -2
  70. package/cli/modules/aiws_schedule.ts +0 -256
  71. package/dist/aiws_bind-1a26e3e6.js +0 -2
  72. package/dist/aiws_bind-1a26e3e6.js.map +0 -1
  73. package/dist/aiws_bind-ec6fe2d5.mjs.map +0 -1
  74. package/dist/aiws_write-07562abc.mjs.map +0 -1
  75. package/dist/aiws_write-1f179e1c.js.map +0 -1
  76. package/dist/site_manager-8adb478e.mjs.map +0 -1
  77. package/dist/site_manager-c832463b.js +0 -2
  78. package/dist/site_manager-c832463b.js.map +0 -1
@@ -0,0 +1,193 @@
1
+ {
2
+ "@context": "https://www.w3.org/2022/wot/td/v1.1",
3
+ "id": "urn:opendan:personal-tools:person:v1",
4
+ "title": "Current owner",
5
+ "actions": {
6
+ "who": {
7
+ "description": "Identity of the verified owner.",
8
+ "input": {
9
+ "type": "object",
10
+ "properties": {},
11
+ "required": [],
12
+ "additionalProperties": false
13
+ },
14
+ "output": {
15
+ "type": "object",
16
+ "properties": {
17
+ "owner_did": {
18
+ "type": "string"
19
+ },
20
+ "caller_did": {
21
+ "type": "string"
22
+ },
23
+ "zone_did": {
24
+ "type": "string"
25
+ },
26
+ "person_ref": {
27
+ "type": "string"
28
+ }
29
+ },
30
+ "required": [
31
+ "owner_did"
32
+ ],
33
+ "additionalProperties": true
34
+ },
35
+ "x-buckyos:action": {
36
+ "effect": "read"
37
+ }
38
+ },
39
+ "resolve": {
40
+ "description": "Inspect the owner’s resource binding.",
41
+ "input": {
42
+ "type": "object",
43
+ "properties": {
44
+ "slot": {
45
+ "type": "string",
46
+ "enum": [
47
+ "calendar",
48
+ "todo"
49
+ ]
50
+ }
51
+ },
52
+ "required": [
53
+ "slot"
54
+ ],
55
+ "additionalProperties": false
56
+ },
57
+ "output": {
58
+ "type": "object",
59
+ "properties": {
60
+ "slot": {
61
+ "type": "string"
62
+ },
63
+ "mode": {
64
+ "type": "string"
65
+ },
66
+ "binding_revision": {
67
+ "type": "integer"
68
+ },
69
+ "resource_ref": {
70
+ "type": "string"
71
+ },
72
+ "actions": {
73
+ "type": "array",
74
+ "items": {
75
+ "type": "string"
76
+ }
77
+ }
78
+ },
79
+ "required": [
80
+ "slot",
81
+ "mode",
82
+ "binding_revision"
83
+ ],
84
+ "additionalProperties": true
85
+ },
86
+ "x-buckyos:action": {
87
+ "effect": "read"
88
+ }
89
+ },
90
+ "notify": {
91
+ "description": "Send the owner a notice.",
92
+ "input": {
93
+ "type": "object",
94
+ "properties": {
95
+ "text": {
96
+ "type": "string",
97
+ "minLength": 1
98
+ }
99
+ },
100
+ "required": [
101
+ "text"
102
+ ],
103
+ "additionalProperties": false
104
+ },
105
+ "output": {
106
+ "type": "object",
107
+ "properties": {
108
+ "notify_id": {
109
+ "type": "string"
110
+ },
111
+ "task_id": {
112
+ "type": [
113
+ "string",
114
+ "null"
115
+ ]
116
+ },
117
+ "idempotency_key": {
118
+ "type": "string"
119
+ }
120
+ },
121
+ "required": [
122
+ "notify_id"
123
+ ],
124
+ "additionalProperties": true
125
+ },
126
+ "x-buckyos:action": {
127
+ "effect": "write"
128
+ }
129
+ },
130
+ "ask": {
131
+ "description": "Ask the owner a question.",
132
+ "input": {
133
+ "type": "object",
134
+ "properties": {
135
+ "text": {
136
+ "type": "string",
137
+ "minLength": 1
138
+ }
139
+ },
140
+ "required": [
141
+ "text"
142
+ ],
143
+ "additionalProperties": false
144
+ },
145
+ "output": {
146
+ "type": "object",
147
+ "properties": {
148
+ "notify_id": {
149
+ "type": "string"
150
+ },
151
+ "task_id": {
152
+ "type": [
153
+ "string",
154
+ "null"
155
+ ]
156
+ },
157
+ "idempotency_key": {
158
+ "type": "string"
159
+ }
160
+ },
161
+ "required": [
162
+ "notify_id"
163
+ ],
164
+ "additionalProperties": true
165
+ },
166
+ "x-buckyos:action": {
167
+ "effect": "write"
168
+ }
169
+ },
170
+ "notification_status": {
171
+ "description": "Read the notification status and any answer.",
172
+ "input": {
173
+ "type": "object",
174
+ "properties": {
175
+ "notify_id": {
176
+ "type": "string",
177
+ "minLength": 1
178
+ }
179
+ },
180
+ "required": [
181
+ "notify_id"
182
+ ],
183
+ "additionalProperties": false
184
+ },
185
+ "output": {
186
+ "type": "object"
187
+ },
188
+ "x-buckyos:action": {
189
+ "effect": "read"
190
+ }
191
+ }
192
+ }
193
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "@context": "https://www.w3.org/2022/wot/td/v1.1",
3
+ "id": "urn:opendan:personal-tools:sharing:v1",
4
+ "title": "Share availability",
5
+ "actions": {
6
+ "grant": {
7
+ "description": "Share busy intervals with a Zone user.",
8
+ "input": {
9
+ "type": "object",
10
+ "properties": {
11
+ "slot": {
12
+ "type": "string",
13
+ "enum": [
14
+ "availability"
15
+ ]
16
+ },
17
+ "to": {
18
+ "type": "string",
19
+ "minLength": 1
20
+ }
21
+ },
22
+ "required": [
23
+ "slot",
24
+ "to"
25
+ ],
26
+ "additionalProperties": false
27
+ },
28
+ "output": {
29
+ "type": "object"
30
+ },
31
+ "x-buckyos:action": {
32
+ "effect": "write"
33
+ }
34
+ },
35
+ "revoke": {
36
+ "description": "Withdraw an availability grant.",
37
+ "input": {
38
+ "type": "object",
39
+ "properties": {
40
+ "slot": {
41
+ "type": "string",
42
+ "enum": [
43
+ "availability"
44
+ ]
45
+ },
46
+ "to": {
47
+ "type": "string",
48
+ "minLength": 1
49
+ }
50
+ },
51
+ "required": [
52
+ "slot",
53
+ "to"
54
+ ],
55
+ "additionalProperties": false
56
+ },
57
+ "output": {
58
+ "type": "object"
59
+ },
60
+ "x-buckyos:action": {
61
+ "effect": "write"
62
+ }
63
+ }
64
+ }
65
+ }