@notis_ai/cli 0.2.27 → 0.2.28

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 (42) hide show
  1. package/README.md +2 -2
  2. package/config/notis_app_design_rules.json +5 -123
  3. package/dist/agent-hooks/notis-agent-hook.mjs +2 -2
  4. package/dist/base-skills/notis-spaces/.notis-base-skill.json +1 -1
  5. package/dist/base-skills/notis-spaces/SKILL.md +13 -19
  6. package/dist/base-skills/notis-spaces/references/design.md +11 -45
  7. package/dist/base-skills/notis-spaces/references/sdk.md +86 -67
  8. package/dist/base-skills/notis-spaces/references/views.md +12 -1
  9. package/dist/sdk/src/components/NotisCommentBoundary.tsx +43 -16
  10. package/dist/sdk/src/components/NotisSelectionBoundary.tsx +26 -1
  11. package/dist/sdk/src/components/SelectionActionBar.tsx +262 -0
  12. package/dist/sdk/src/hooks/useCollectionInteractions.ts +5 -2
  13. package/dist/sdk/src/space.ts +4 -0
  14. package/dist/sdk/src/ui/icons.tsx +11 -2
  15. package/dist/sdk/src/words/actions.ts +9 -1
  16. package/dist/sdk/src/words/keymap.ts +3 -0
  17. package/dist/space-harness/host.js +172 -134
  18. package/dist/space-sdk/dist/{chunk-BWHAORT4.js → chunk-BFGB6XXC.js} +2 -2
  19. package/dist/space-sdk/dist/index.js +2 -2
  20. package/dist/space-sdk/dist/ui.js +14 -11
  21. package/dist/space-sdk/src/components/NotisSelectionBoundary.d.ts +7 -0
  22. package/dist/space-sdk/src/space.ts +4 -0
  23. package/dist/space-sdk/src/tailwind-candidates.d.ts +117 -13
  24. package/dist/space-sdk/src/ui/blocks/DataTable.d.ts +86 -0
  25. package/dist/space-sdk/src/ui/blocks/InfoTip.d.ts +25 -0
  26. package/dist/space-sdk/src/ui/blocks/Meter.d.ts +39 -0
  27. package/dist/space-sdk/src/ui/blocks/blocks.d.ts +1 -1
  28. package/dist/space-sdk/src/ui/blocks/index.d.ts +6 -0
  29. package/dist/space-sdk/src/ui/charts/Chart.d.ts +15 -2
  30. package/dist/space-sdk/src/ui/charts/StatRow.d.ts +4 -3
  31. package/dist/space-sdk/src/ui/charts/chartData.d.ts +6 -0
  32. package/dist/space-sdk/src/ui/icons.d.ts +1 -1
  33. package/dist/space-sdk/src/ui/index.d.ts +2 -2
  34. package/dist/space-sdk/src/ui/list/Row.d.ts +10 -3
  35. package/dist/space-sdk/src/ui/period/dateFormat.d.ts +14 -0
  36. package/dist/space-sdk/src/words/actions.ts +9 -1
  37. package/dist/space-sdk/src/words/keymap.ts +3 -0
  38. package/dist/view-renderer/dist/host.js +243 -205
  39. package/package.json +3 -3
  40. package/src/command-specs/computer.js +3 -3
  41. package/template/components/ui/button.tsx +1 -1
  42. package/template/components/ui/native-select.tsx +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@notis_ai/cli",
3
- "version": "0.2.27",
3
+ "version": "0.2.28",
4
4
  "description": "Agent-first Notis CLI for Spaces, Skills and generic tool execution",
5
5
  "type": "module",
6
6
  "bin": {
@@ -52,8 +52,8 @@
52
52
  "react-dom": "19.3.0"
53
53
  },
54
54
  "notisRelease": {
55
- "sourceSha": "7fda8d9020cc8bd18b3698e1ca4eb134d399b157",
55
+ "sourceSha": "b30c41a5c3e0b065aaf9a0be08c918eea77be86d",
56
56
  "channel": "stable"
57
57
  },
58
- "gitHead": "7fda8d9020cc8bd18b3698e1ca4eb134d399b157"
58
+ "gitHead": "b30c41a5c3e0b065aaf9a0be08c918eea77be86d"
59
59
  }
@@ -8,7 +8,7 @@
8
8
  // With neither, the command sets up when needed, waits for the computer and
9
9
  // runs ssh.
10
10
  //
11
- // `notis computer status | restart | recover` (CC-150, CC-151) go through
11
+ // `notis computer status | restart | recover` (CC-150, CC-245) go through
12
12
  // LOCAL_NOTIS_GET_CLOUD_COMPUTER and LOCAL_NOTIS_MANAGE_CLOUD_COMPUTER, so the
13
13
  // server keeps every check. Restart and recover preview first and ask.
14
14
 
@@ -241,8 +241,8 @@ export const computerCommandSpecs = [{
241
241
  },
242
242
  }, {
243
243
  command_path: ['computer', 'restart'],
244
- summary: 'Restart a Cloud Computer that stopped answering. Its files are kept.',
245
- when_to_use: 'Only while notis computer status says it is not responding. Whatever was running on it stops; it answers again in 1 to 2 minutes.',
244
+ summary: 'Restart your Cloud Computer, awake or not responding. Its files are kept.',
245
+ when_to_use: 'When it is stuck, slow or not responding. Whatever was running on it stops; it answers again in 1 to 2 minutes. An asleep one has nothing to restart.',
246
246
  args_schema: { arguments: [], options: [YES_OPTION] },
247
247
  examples: ['notis computer restart', 'notis computer restart --yes'],
248
248
  mutates: true, idempotent: false, require_auth: true,
@@ -5,7 +5,7 @@ import { cva, type VariantProps } from 'class-variance-authority';
5
5
  import { cn } from '@/lib/utils';
6
6
 
7
7
  const buttonVariants = cva(
8
- 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',
8
+ 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors disabled:pointer-events-none disabled:opacity-50',
9
9
  {
10
10
  variants: {
11
11
  variant: {
@@ -10,7 +10,7 @@ const NativeSelect = React.forwardRef<HTMLSelectElement, React.SelectHTMLAttribu
10
10
  <span className={cn('relative inline-flex', className)}>
11
11
  <select
12
12
  ref={ref}
13
- className="h-9 w-full appearance-none rounded-md bg-muted pl-3 pr-8 text-sm text-foreground outline-hidden transition-colors hover:bg-muted/70 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
13
+ className="h-9 w-full appearance-none rounded-md bg-muted pl-3 pr-8 text-sm text-foreground outline-hidden transition-colors hover:bg-muted/70"
14
14
  {...props}
15
15
  >
16
16
  {children}