@lobu/runtime-device 24.1.1 → 24.2.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.
Files changed (158) hide show
  1. package/dist/component.json +1 -1
  2. package/dist/dependencies.bun.lock +26 -28
  3. package/npm-shrinkwrap.json +155 -172
  4. package/package.json +1 -1
  5. package/vendor/cli/dist/bundled-skills/lobu/SKILL.md +14 -5
  6. package/vendor/cli/dist/chrome-extension/accessibility-tree.js +834 -0
  7. package/vendor/cli/dist/chrome-extension/ambient-context.js +53 -0
  8. package/vendor/cli/dist/chrome-extension/auth-refresh.js +167 -0
  9. package/vendor/cli/dist/chrome-extension/automation-run.js +13 -0
  10. package/vendor/cli/dist/chrome-extension/background.js +1155 -0
  11. package/vendor/cli/dist/chrome-extension/bridge.js +140 -0
  12. package/vendor/cli/dist/chrome-extension/browser-origin-policy.js +62 -0
  13. package/vendor/cli/dist/chrome-extension/browser-recovery.js +260 -0
  14. package/vendor/cli/dist/chrome-extension/browser-url-sanitizer.js +284 -0
  15. package/vendor/cli/dist/chrome-extension/completion-response.js +12 -0
  16. package/vendor/cli/dist/chrome-extension/config.js +144 -0
  17. package/vendor/cli/dist/chrome-extension/connector-manifests/chrome.json +1516 -0
  18. package/vendor/cli/dist/chrome-extension/connector-manifests/chrome_bookmarks.json +84 -0
  19. package/vendor/cli/dist/chrome-extension/connector-manifests/chrome_downloads.json +86 -0
  20. package/vendor/cli/dist/chrome-extension/connector-manifests/chrome_history.json +78 -0
  21. package/vendor/cli/dist/chrome-extension/connector-manifests.js +1767 -0
  22. package/vendor/cli/dist/chrome-extension/console-capture.js +627 -0
  23. package/vendor/cli/dist/chrome-extension/control-activity.js +70 -0
  24. package/vendor/cli/dist/chrome-extension/debugger-lease.js +439 -0
  25. package/vendor/cli/dist/chrome-extension/feed-listener.js +488 -0
  26. package/vendor/cli/dist/chrome-extension/feed-transaction.js +48 -0
  27. package/vendor/cli/dist/chrome-extension/feeds.js +632 -0
  28. package/vendor/cli/dist/chrome-extension/focus-tab.js +25 -0
  29. package/vendor/cli/dist/chrome-extension/fonts/dm-mono-latin-500-normal.woff2 +0 -0
  30. package/vendor/cli/dist/chrome-extension/fonts/dm-sans-latin-400-normal.woff2 +0 -0
  31. package/vendor/cli/dist/chrome-extension/fonts/dm-sans-latin-600-normal.woff2 +0 -0
  32. package/vendor/cli/dist/chrome-extension/heartbeat.js +140 -0
  33. package/vendor/cli/dist/chrome-extension/icons/icon-128-rec.png +0 -0
  34. package/vendor/cli/dist/chrome-extension/icons/icon-128.png +0 -0
  35. package/vendor/cli/dist/chrome-extension/icons/icon-16-rec.png +0 -0
  36. package/vendor/cli/dist/chrome-extension/icons/icon-16.png +0 -0
  37. package/vendor/cli/dist/chrome-extension/icons/icon-32-rec.png +0 -0
  38. package/vendor/cli/dist/chrome-extension/icons/icon-32.png +0 -0
  39. package/vendor/cli/dist/chrome-extension/icons/icon-48-rec.png +0 -0
  40. package/vendor/cli/dist/chrome-extension/icons/icon-48.png +0 -0
  41. package/vendor/cli/dist/chrome-extension/lens-page.js +135 -0
  42. package/vendor/cli/dist/chrome-extension/lens-target.js +20 -0
  43. package/vendor/cli/dist/chrome-extension/manifest.json +76 -0
  44. package/vendor/cli/dist/chrome-extension/network-intercept.js +657 -0
  45. package/vendor/cli/dist/chrome-extension/page-activation.js +120 -0
  46. package/vendor/cli/dist/chrome-extension/page-dialogs.js +125 -0
  47. package/vendor/cli/dist/chrome-extension/page-url.js +11 -0
  48. package/vendor/cli/dist/chrome-extension/panel-session.js +184 -0
  49. package/vendor/cli/dist/chrome-extension/poll-auth.js +85 -0
  50. package/vendor/cli/dist/chrome-extension/poll-backoff.js +22 -0
  51. package/vendor/cli/dist/chrome-extension/run-fence.js +117 -0
  52. package/vendor/cli/dist/chrome-extension/setup-status.js +71 -0
  53. package/vendor/cli/dist/chrome-extension/side-panel-action-click.js +65 -0
  54. package/vendor/cli/dist/chrome-extension/sidepanel-context.js +50 -0
  55. package/vendor/cli/dist/chrome-extension/sidepanel.html +680 -0
  56. package/vendor/cli/dist/chrome-extension/sidepanel.js +1643 -0
  57. package/vendor/cli/dist/chrome-extension/tab-labels.js +233 -0
  58. package/vendor/cli/dist/chrome-extension/tools.js +3354 -0
  59. package/vendor/cli/dist/chrome-extension/watch-observer.js +354 -0
  60. package/vendor/cli/dist/chrome-extension/watch-redact.js +96 -0
  61. package/vendor/cli/dist/chrome-extension/watch.js +348 -0
  62. package/vendor/cli/dist/commands/_lib/apply/desired-state.d.ts +6 -4
  63. package/vendor/cli/dist/commands/_lib/apply/desired-state.js +5 -3
  64. package/vendor/cli/dist/commands/_lib/apply/diff.js +4 -3
  65. package/vendor/cli/dist/commands/_lib/chrome-for-testing.d.ts +13 -0
  66. package/vendor/cli/dist/commands/_lib/chrome-for-testing.js +226 -0
  67. package/vendor/cli/dist/commands/_lib/device-credential.d.ts +34 -0
  68. package/vendor/cli/dist/commands/_lib/device-credential.js +157 -0
  69. package/vendor/cli/dist/commands/_lib/device-wizard.d.ts +17 -0
  70. package/vendor/cli/dist/commands/_lib/device-wizard.js +11 -2
  71. package/vendor/cli/dist/commands/_lib/native-messaging.d.ts +7 -0
  72. package/vendor/cli/dist/commands/_lib/native-messaging.js +40 -0
  73. package/vendor/cli/dist/commands/browser.d.ts +23 -0
  74. package/vendor/cli/dist/commands/browser.js +492 -0
  75. package/vendor/cli/dist/commands/call.d.ts +12 -0
  76. package/vendor/cli/dist/commands/call.js +48 -26
  77. package/vendor/cli/dist/commands/context.d.ts +3 -1
  78. package/vendor/cli/dist/commands/context.js +13 -2
  79. package/vendor/cli/dist/commands/daemon.js +2 -152
  80. package/vendor/cli/dist/commands/memory/_lib/errors.d.ts +4 -1
  81. package/vendor/cli/dist/commands/memory/_lib/errors.js +9 -1
  82. package/vendor/cli/dist/commands/memory/_lib/mcp.d.ts +0 -9
  83. package/vendor/cli/dist/commands/memory/_lib/mcp.js +1 -23
  84. package/vendor/cli/dist/commands/memory/_lib/memory-auth.d.ts +20 -4
  85. package/vendor/cli/dist/commands/memory/_lib/memory-auth.js +21 -17
  86. package/vendor/cli/dist/commands/memory/_lib/seed-cmd.js +6 -17
  87. package/vendor/cli/dist/commands/memory/run.js +4 -25
  88. package/vendor/cli/dist/connectors/google_gmail.ts +70 -41
  89. package/vendor/cli/dist/connectors/google_gmail_references.ts +406 -0
  90. package/vendor/cli/dist/connectors/linkedin-inbox-adapter.js +107 -36
  91. package/vendor/cli/dist/connectors/linkedin-inbox.ts +13 -0
  92. package/vendor/cli/dist/connectors/linkedin.ts +1 -1
  93. package/vendor/cli/dist/connectors/postgres.ts +5 -3
  94. package/vendor/cli/dist/connectors/reddit.ts +171 -5
  95. package/vendor/cli/dist/connectors/whatsapp-web-adapter.js +147 -61
  96. package/vendor/cli/dist/connectors/whatsapp-web-helpers.ts +6 -2
  97. package/vendor/cli/dist/connectors/whatsapp_web.ts +48 -17
  98. package/vendor/cli/dist/connectors/x-dm-adapter.js +252 -35
  99. package/vendor/cli/dist/connectors/x.ts +189 -13
  100. package/vendor/cli/dist/index.js +46 -6
  101. package/vendor/cli/dist/internal/device-state.d.ts +2 -0
  102. package/vendor/cli/dist/internal/device-state.js +4 -0
  103. package/vendor/cli/dist/runtime-components.json +4 -4
  104. package/vendor/cli/dist/templates/AGENTS.md.tmpl +3 -1
  105. package/vendor/cli/dist/templates/TESTING.md.tmpl +8 -8
  106. package/vendor/cli/package.json +1 -1
  107. package/vendor/connector-sdk/dist/browser-requirement.js +1 -1
  108. package/vendor/connector-sdk/dist/connector-types.d.ts +5 -1
  109. package/vendor/connector-sdk/package.json +1 -1
  110. package/vendor/connector-worker/dist/agent-turn/gateway-tools.d.ts +9 -0
  111. package/vendor/connector-worker/dist/agent-turn/gateway-tools.js +23 -2
  112. package/vendor/connector-worker/dist/agent-turn/guest-entry.js +14 -6
  113. package/vendor/connector-worker/dist/agent-turn/guest.bundle.js +62 -25
  114. package/vendor/connector-worker/dist/agent-turn/media-tools.d.ts +1 -0
  115. package/vendor/connector-worker/dist/agent-turn/media-tools.js +5 -2
  116. package/vendor/connector-worker/dist/bin.js +2 -0
  117. package/vendor/connector-worker/dist/daemon/agent-turn.js +52 -17
  118. package/vendor/connector-worker/dist/daemon/automation.js +2 -12
  119. package/vendor/connector-worker/dist/daemon/client.d.ts +8 -2
  120. package/vendor/connector-worker/dist/daemon/client.js +8 -1
  121. package/vendor/connector-worker/dist/daemon/interactive-session.js +29 -6
  122. package/vendor/connector-worker/dist/daemon/poll-loop.js +23 -1
  123. package/vendor/connector-worker/dist/daemon/terminal-delivery.d.ts +5 -10
  124. package/vendor/connector-worker/dist/daemon/terminal-delivery.js +55 -23
  125. package/vendor/connector-worker/dist/daemon/terminal-failure.js +2 -2
  126. package/vendor/connector-worker/dist/executor/isolate.js +3 -0
  127. package/vendor/connector-worker/package.json +1 -1
  128. package/vendor/core/dist/agent-tooling.d.ts +8 -0
  129. package/vendor/core/dist/agent-tooling.js +9 -1
  130. package/vendor/core/dist/capabilities.d.ts +1 -1
  131. package/vendor/core/dist/capabilities.js +5 -0
  132. package/vendor/core/dist/contracts/entity-reference.d.ts +3 -0
  133. package/vendor/core/dist/contracts/entity-reference.js +31 -0
  134. package/vendor/core/dist/contracts/tools/manage-automations.d.ts +3 -0
  135. package/vendor/core/dist/contracts/tools/manage-automations.js +3 -0
  136. package/vendor/core/dist/contracts/tools/manage-connections.js +1 -1
  137. package/vendor/core/dist/contracts/tools/manage-entity-schema.js +1 -1
  138. package/vendor/core/dist/contracts/tools/manage-entity.d.ts +113 -34
  139. package/vendor/core/dist/contracts/tools/manage-entity.js +41 -14
  140. package/vendor/core/dist/contracts/tools/manage-operations.d.ts +13 -4
  141. package/vendor/core/dist/contracts/tools/manage-operations.js +19 -7
  142. package/vendor/core/dist/contracts/tools/read-knowledge.d.ts +6 -1
  143. package/vendor/core/dist/contracts/tools/read-knowledge.js +20 -1
  144. package/vendor/core/dist/contracts/tools/view-attach.d.ts +1 -1
  145. package/vendor/core/dist/contracts/tools/view-runtime.d.ts +2 -0
  146. package/vendor/core/dist/contracts/tools/view-runtime.js +3 -1
  147. package/vendor/core/dist/contracts/worker/device-automation.d.ts +4 -9
  148. package/vendor/core/dist/contracts/worker/device-automation.js +10 -15
  149. package/vendor/core/dist/contracts/worker/protocol.d.ts +20 -0
  150. package/vendor/core/dist/contracts/worker/protocol.js +20 -0
  151. package/vendor/core/dist/reserved.d.ts +6 -3
  152. package/vendor/core/dist/reserved.js +6 -3
  153. package/vendor/core/dist/worker/auth.d.ts +3 -2
  154. package/vendor/core/package.json +6 -1
  155. package/vendor/postgres/cf/src/query.js +3 -1
  156. package/vendor/postgres/cjs/src/query.js +3 -1
  157. package/vendor/postgres/src/query.js +3 -1
  158. /package/vendor/postgres/{.bun-tag-2f292c6554a8475e → .bun-tag-22d644c2873790db} +0 -0
@@ -0,0 +1,84 @@
1
+ {
2
+ "key": "chrome.bookmarks",
3
+ "version": "0.1.1",
4
+ "name": "Chrome bookmarks",
5
+ "description": "Bookmarks (and folder structure) from the paired Chrome profile. Opt-in — requires the user to grant the extension's optional `bookmarks` permission.",
6
+ "favicon_domain": "google.com",
7
+ "required_capability": "browser.bookmarks",
8
+ "runtime": {
9
+ "platforms": [
10
+ "chrome-extension"
11
+ ]
12
+ },
13
+ "auth_schema": {
14
+ "methods": [
15
+ {
16
+ "type": "none"
17
+ }
18
+ ]
19
+ },
20
+ "feeds_schema": {
21
+ "bookmarks": {
22
+ "key": "bookmarks",
23
+ "name": "Bookmarks",
24
+ "operations": [
25
+ "sync"
26
+ ],
27
+ "description": "One event per bookmark. Every sync reads the full tree via chrome.bookmarks.getTree and re-emits it when its fingerprint changes; onCreated / onRemoved / onChanged / onMoved events stream between syncs.",
28
+ "configSchema": {
29
+ "type": "object",
30
+ "properties": {}
31
+ },
32
+ "eventKinds": {
33
+ "bookmark": {
34
+ "description": "One row per bookmark add/remove/edit.",
35
+ "metadataSchema": {
36
+ "type": "object",
37
+ "required": [
38
+ "source",
39
+ "origin_id",
40
+ "event_type"
41
+ ],
42
+ "properties": {
43
+ "source": {
44
+ "type": "string",
45
+ "const": "chrome_bookmarks"
46
+ },
47
+ "origin_id": {
48
+ "type": "string"
49
+ },
50
+ "event_type": {
51
+ "enum": [
52
+ "created",
53
+ "removed",
54
+ "changed",
55
+ "moved"
56
+ ]
57
+ },
58
+ "bookmark_id": {
59
+ "type": "string"
60
+ },
61
+ "title": {
62
+ "type": "string"
63
+ },
64
+ "url": {
65
+ "type": "string"
66
+ },
67
+ "parent_folder_id": {
68
+ "type": "string"
69
+ },
70
+ "parent_folder_path": {
71
+ "type": "string"
72
+ },
73
+ "date_added": {
74
+ "type": "string",
75
+ "format": "date-time"
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ },
83
+ "manifest_hash": "fd86201edf6a21750b5a105808e83a1ffa567b8617a7c226c981dd5366e9603d"
84
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "key": "chrome.downloads",
3
+ "version": "0.1.0",
4
+ "name": "Chrome downloads",
5
+ "description": "Files downloaded in the paired Chrome profile, with their source URLs. Opt-in — requires the user to grant the extension's optional `downloads` permission.",
6
+ "favicon_domain": "google.com",
7
+ "required_capability": "browser.downloads",
8
+ "runtime": {
9
+ "platforms": [
10
+ "chrome-extension"
11
+ ]
12
+ },
13
+ "auth_schema": {
14
+ "methods": [
15
+ {
16
+ "type": "none"
17
+ }
18
+ ]
19
+ },
20
+ "feeds_schema": {
21
+ "downloads": {
22
+ "key": "downloads",
23
+ "name": "Downloads",
24
+ "operations": [
25
+ "sync"
26
+ ],
27
+ "description": "One event per download. Every sync reads the most recent 1000 via chrome.downloads.search and re-emits them when their fingerprint changes; onCreated / onChanged (state=complete) events stream between syncs.",
28
+ "configSchema": {
29
+ "type": "object",
30
+ "properties": {}
31
+ },
32
+ "eventKinds": {
33
+ "download": {
34
+ "description": "One row per file the user downloaded.",
35
+ "metadataSchema": {
36
+ "type": "object",
37
+ "required": [
38
+ "source",
39
+ "origin_id"
40
+ ],
41
+ "properties": {
42
+ "source": {
43
+ "type": "string",
44
+ "const": "chrome_downloads"
45
+ },
46
+ "origin_id": {
47
+ "type": "string"
48
+ },
49
+ "download_id": {
50
+ "type": "integer"
51
+ },
52
+ "filename": {
53
+ "type": "string"
54
+ },
55
+ "source_url": {
56
+ "type": "string",
57
+ "format": "uri"
58
+ },
59
+ "referrer": {
60
+ "type": "string"
61
+ },
62
+ "mime": {
63
+ "type": "string"
64
+ },
65
+ "bytes": {
66
+ "type": "integer"
67
+ },
68
+ "started_at": {
69
+ "type": "string",
70
+ "format": "date-time"
71
+ },
72
+ "finished_at": {
73
+ "type": "string",
74
+ "format": "date-time"
75
+ },
76
+ "state": {
77
+ "type": "string"
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }
84
+ },
85
+ "manifest_hash": "f5d567cb0d7e7e517dbacf8aaccef5edf2d3a8f983f7620f19bfad66ebc17015"
86
+ }
@@ -0,0 +1,78 @@
1
+ {
2
+ "key": "chrome.history",
3
+ "version": "0.1.1",
4
+ "name": "Chrome history",
5
+ "description": "Every page the user visits in their paired Chrome profile, with visit time + transition type. Opt-in — requires the user to grant the extension's optional `history` permission.",
6
+ "favicon_domain": "google.com",
7
+ "required_capability": "browser.history",
8
+ "runtime": {
9
+ "platforms": [
10
+ "chrome-extension"
11
+ ]
12
+ },
13
+ "auth_schema": {
14
+ "methods": [
15
+ {
16
+ "type": "none"
17
+ }
18
+ ]
19
+ },
20
+ "feeds_schema": {
21
+ "visits": {
22
+ "key": "visits",
23
+ "name": "Visits",
24
+ "operations": [
25
+ "sync"
26
+ ],
27
+ "description": "One event per page visit. Backfills ~90 days on first sync (chrome.history.search), then streams new visits via the chrome.history.onVisited listener.",
28
+ "configSchema": {
29
+ "type": "object",
30
+ "properties": {}
31
+ },
32
+ "eventKinds": {
33
+ "page_visit": {
34
+ "description": "One row per visit observed.",
35
+ "metadataSchema": {
36
+ "type": "object",
37
+ "required": [
38
+ "source",
39
+ "origin_id",
40
+ "url",
41
+ "visit_time"
42
+ ],
43
+ "properties": {
44
+ "source": {
45
+ "type": "string",
46
+ "const": "chrome_history"
47
+ },
48
+ "origin_id": {
49
+ "type": "string"
50
+ },
51
+ "url": {
52
+ "type": "string"
53
+ },
54
+ "title": {
55
+ "type": "string"
56
+ },
57
+ "visit_time": {
58
+ "type": "string",
59
+ "format": "date-time"
60
+ },
61
+ "transition_type": {
62
+ "description": "How the user got to the page: link, typed, auto_bookmark, auto_subframe, manual_subframe, generated, start_page, form_submit, reload, keyword, keyword_generated.",
63
+ "type": "string"
64
+ },
65
+ "visit_id": {
66
+ "type": "integer"
67
+ },
68
+ "visit_count": {
69
+ "type": "integer"
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ },
77
+ "manifest_hash": "8a8ad46a2769742020009b438068b59a48619b3ac62d1463f3b343783d4cc997"
78
+ }