@notis_ai/cli 0.2.0-beta.104.1 → 0.2.0-beta.112.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 (62) hide show
  1. package/README.md +2 -0
  2. package/dist/scaffolds/notis-affiliate-prospects/CHANGELOG.md +7 -0
  3. package/dist/scaffolds/notis-affiliate-prospects/README.md +20 -0
  4. package/dist/scaffolds/notis-affiliate-prospects/app/globals.css +42 -0
  5. package/dist/scaffolds/notis-affiliate-prospects/app/layout.tsx +7 -0
  6. package/dist/scaffolds/notis-affiliate-prospects/app/page.tsx +248 -0
  7. package/dist/scaffolds/notis-affiliate-prospects/app/prospects/page.tsx +134 -0
  8. package/dist/scaffolds/notis-affiliate-prospects/app/segments/page.tsx +108 -0
  9. package/dist/scaffolds/notis-affiliate-prospects/components/ui/card.tsx +35 -0
  10. package/dist/scaffolds/notis-affiliate-prospects/components.json +20 -0
  11. package/dist/scaffolds/notis-affiliate-prospects/index.html +12 -0
  12. package/dist/scaffolds/notis-affiliate-prospects/lib/affiliate-data.ts +218 -0
  13. package/dist/scaffolds/notis-affiliate-prospects/lib/demo-prospects.ts +52 -0
  14. package/dist/scaffolds/notis-affiliate-prospects/lib/notis-tools.ts +100 -0
  15. package/dist/scaffolds/notis-affiliate-prospects/lib/utils.ts +25 -0
  16. package/dist/scaffolds/notis-affiliate-prospects/metadata/screenshot-1.png +0 -0
  17. package/dist/scaffolds/notis-affiliate-prospects/metadata/screenshot-2.png +0 -0
  18. package/dist/scaffolds/notis-affiliate-prospects/metadata/screenshot-3.png +0 -0
  19. package/dist/scaffolds/notis-affiliate-prospects/metadata/screenshot-fixtures.json +187 -0
  20. package/dist/scaffolds/notis-affiliate-prospects/notis.config.ts +65 -0
  21. package/dist/scaffolds/notis-affiliate-prospects/package.json +32 -0
  22. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/package.json +32 -0
  23. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/components/MultiSelectActionBar.tsx +273 -0
  24. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/components/MultiSelectCheckbox.tsx +91 -0
  25. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/components/MultiSelectDragOverlay.tsx +39 -0
  26. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/config.ts +90 -0
  27. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/hooks/useBackend.ts +41 -0
  28. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/hooks/useDatabase.ts +76 -0
  29. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/hooks/useMultiSelect.ts +503 -0
  30. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/hooks/useNotis.ts +34 -0
  31. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/hooks/useNotisNavigation.ts +49 -0
  32. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/hooks/useTool.ts +64 -0
  33. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/hooks/useTools.ts +56 -0
  34. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/hooks/useTopBarSearch.ts +73 -0
  35. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/hooks/useUpsertDocument.ts +50 -0
  36. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/index.ts +54 -0
  37. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/provider.tsx +43 -0
  38. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/runtime.ts +161 -0
  39. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/styles.css +38 -0
  40. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/ui.ts +15 -0
  41. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/src/vite.ts +56 -0
  42. package/dist/scaffolds/notis-affiliate-prospects/packages/sdk/tsconfig.json +15 -0
  43. package/dist/scaffolds/notis-affiliate-prospects/postcss.config.mjs +6 -0
  44. package/dist/scaffolds/notis-affiliate-prospects/src/dev-main.tsx +72 -0
  45. package/dist/scaffolds/notis-affiliate-prospects/src/mock-runtime.ts +242 -0
  46. package/dist/scaffolds/notis-affiliate-prospects/tailwind.config.ts +51 -0
  47. package/dist/scaffolds/notis-affiliate-prospects/tsconfig.json +23 -0
  48. package/dist/scaffolds/notis-affiliate-prospects/vite.config.ts +11 -0
  49. package/dist/scaffolds.json +11 -0
  50. package/package.json +1 -1
  51. package/skills/notis-apps/SKILL.md +1 -0
  52. package/skills/notis-cli/SKILL.md +1 -1
  53. package/skills/notis-query/cli.md +1 -1
  54. package/src/cli.js +8 -1
  55. package/src/command-specs/diagnostics.js +674 -0
  56. package/src/command-specs/helpers.js +4 -1
  57. package/src/command-specs/index.js +6 -0
  58. package/src/command-specs/smoke.js +386 -0
  59. package/src/command-specs/tools.js +187 -7
  60. package/src/runtime/output.js +12 -1
  61. package/src/runtime/profiles.js +35 -1
  62. package/src/runtime/transport.js +3 -0
@@ -0,0 +1,242 @@
1
+ import type { NotisRuntime } from '@notis/sdk';
2
+
3
+ type Route = 'dashboard' | 'prospects' | 'segments';
4
+
5
+ interface MockDocument {
6
+ id: string;
7
+ title: string;
8
+ properties: Record<string, unknown>;
9
+ }
10
+
11
+ const PROSPECTS: MockDocument[] = [
12
+ prospect('Alex Morgan', 'FlowNorth', 'Automation Agency', 'Interested', 'P0', 94, {
13
+ Email: 'alex@flownorth.example',
14
+ LinkedIn: 'https://linkedin.com/in/alex-morgan',
15
+ Website: 'https://flownorth.example',
16
+ Source: 'Zapier Solution Partner Directory',
17
+ 'Audience Size': 8200,
18
+ 'Monthly Traffic': 14000,
19
+ 'Outreach Channel': 'LinkedIn + Email',
20
+ 'Next Action': 'Send partner economics one-pager',
21
+ 'Next Action Date': '2026-07-24',
22
+ 'Last Touch Date': '2026-07-22',
23
+ }),
24
+ prospect('Maya Chen', 'Agent Ops Weekly', 'AI Creator', 'Replied', 'P0', 91, {
25
+ Email: 'maya@agentopsweekly.example',
26
+ LinkedIn: 'https://linkedin.com/in/maya-chen',
27
+ Website: 'https://agentopsweekly.example',
28
+ Source: 'Newsletter discovery',
29
+ 'Audience Size': 38000,
30
+ 'Monthly Traffic': 22000,
31
+ 'Outreach Channel': 'Email',
32
+ 'Next Action': 'Share creator demo kit',
33
+ 'Next Action Date': '2026-07-24',
34
+ 'Last Touch Date': '2026-07-23',
35
+ }),
36
+ prospect('Noah Williams', 'Automate Better', 'SEO Publisher', 'Ready for Outreach', 'P1', 88, {
37
+ Email: 'noah@automatebetter.example',
38
+ Website: 'https://automatebetter.example',
39
+ Source: 'DataForSEO: Zapier alternatives',
40
+ 'Monthly Traffic': 76000,
41
+ 'Enrichment Status': 'Verified',
42
+ 'Outreach Channel': 'Email',
43
+ 'Next Action': 'Approve comparison-page pitch',
44
+ 'Next Action Date': '2026-07-25',
45
+ }),
46
+ prospect('Sofia Rossi', 'RevOps Circle', 'Community Educator', 'Qualified', 'P1', 86, {
47
+ Email: 'sofia@revopscircle.example',
48
+ LinkedIn: 'https://linkedin.com/in/sofia-rossi',
49
+ Source: 'Community operator list',
50
+ 'Audience Size': 14500,
51
+ 'Outreach Channel': 'LinkedIn',
52
+ 'Next Action': 'Enrich sponsor history',
53
+ 'Next Action Date': '2026-07-25',
54
+ }),
55
+ prospect('Theo Martin', 'Notis customer', 'Customer Advocate', 'Activated', 'P0', 97, {
56
+ Email: 'theo@example.com',
57
+ Source: 'Rewardful + product usage',
58
+ 'Outreach Channel': 'Email',
59
+ 'Referred Signups': 19,
60
+ 'Activated Referrals': 7,
61
+ 'Attributed MRR': 1680,
62
+ 'Last Touch Date': '2026-07-21',
63
+ }),
64
+ prospect('Lena Fischer', 'StackPilot', 'Integration Partner', 'Applied', 'P0', 92, {
65
+ Email: 'lena@stackpilot.example',
66
+ LinkedIn: 'https://linkedin.com/in/lena-fischer',
67
+ Website: 'https://stackpilot.example',
68
+ Source: 'Integration overlap analysis',
69
+ 'Audience Size': 21000,
70
+ 'Monthly Traffic': 41000,
71
+ 'Next Action': 'Confirm co-marketing launch date',
72
+ 'Next Action Date': '2026-07-28',
73
+ }),
74
+ prospect('Sam Patel', 'SaaS Growth Lab', 'Affiliate Marketplace', 'Contacted', 'P1', 82, {
75
+ Email: 'sam@saasgrowthlab.example',
76
+ Website: 'https://saasgrowthlab.example',
77
+ Source: 'PartnerStack marketplace',
78
+ 'Audience Size': 18000,
79
+ 'Monthly Traffic': 33000,
80
+ 'Next Action': 'Follow up with use-case proof',
81
+ 'Next Action Date': '2026-07-27',
82
+ 'Last Touch Date': '2026-07-22',
83
+ }),
84
+ prospect('Priya Shah', 'Nocode Founders', 'Community Educator', 'New', 'P2', 71, {
85
+ LinkedIn: 'https://linkedin.com/in/priya-shah',
86
+ Source: 'LinkedIn event speakers',
87
+ 'Audience Size': 9700,
88
+ 'Next Action': 'Verify audience fit',
89
+ 'Next Action Date': '2026-07-26',
90
+ }),
91
+ prospect('Eli Brooks', 'AI Workflow School', 'AI Creator', 'Researching', 'P1', 78, {
92
+ Website: 'https://aiworkflowschool.example',
93
+ Source: 'YouTube discovery',
94
+ 'Audience Size': 62000,
95
+ 'Monthly Traffic': 12000,
96
+ 'Enrichment Status': 'Pending',
97
+ 'Next Action': 'Find verified business email',
98
+ 'Next Action Date': '2026-07-24',
99
+ }),
100
+ prospect('Jordan Lee', 'OpsCraft', 'Automation Agency', 'Qualified', 'P1', 84, {
101
+ Email: 'jordan@opscraft.example',
102
+ LinkedIn: 'https://linkedin.com/in/jordan-lee',
103
+ Source: 'Make Partner Directory',
104
+ 'Audience Size': 5400,
105
+ 'Next Action': 'Review recent client verticals',
106
+ 'Next Action Date': '2026-07-25',
107
+ }),
108
+ prospect('Camille Laurent', 'Productive AI', 'SEO Publisher', 'Activated', 'P0', 90, {
109
+ Email: 'camille@productiveai.example',
110
+ Website: 'https://productiveai.example',
111
+ Source: 'DataForSEO: AI automation tools',
112
+ 'Monthly Traffic': 92000,
113
+ 'Referred Signups': 31,
114
+ 'Activated Referrals': 11,
115
+ 'Attributed MRR': 2940,
116
+ 'Last Touch Date': '2026-07-20',
117
+ }),
118
+ prospect('Marcus Reed', 'Cloud Workflows', 'Integration Partner', 'Nurture', 'P2', 69, {
119
+ Email: 'marcus@cloudworkflows.example',
120
+ Source: 'Integration directory',
121
+ 'Monthly Traffic': 28000,
122
+ 'Next Action': 'Revisit after API launch',
123
+ 'Next Action Date': '2026-09-01',
124
+ }),
125
+ prospect('Nina Okafor', 'Growth Operators', 'Affiliate Marketplace', 'Disqualified', 'P3', 38, {
126
+ Email: 'nina@growthoperators.example',
127
+ Source: 'impact.com marketplace',
128
+ 'Audience Size': 120000,
129
+ Notes: 'Audience is primarily consumer coupons; no B2B SaaS fit.',
130
+ }),
131
+ prospect('Owen King', 'Notis customer', 'Customer Advocate', 'Contacted', 'P1', 80, {
132
+ Email: 'owen@example.com',
133
+ Source: 'Product usage: 25 successful workflows',
134
+ 'Next Action': 'Invite to advocate cohort',
135
+ 'Next Action Date': '2026-07-26',
136
+ 'Last Touch Date': '2026-07-23',
137
+ }),
138
+ ];
139
+
140
+ declare global {
141
+ interface Window {
142
+ __AFFILIATE_PROSPECTS_RUNTIME__?: NotisRuntime;
143
+ }
144
+ }
145
+
146
+ export function installMockRuntime(initialRoute: Route = 'dashboard'): NotisRuntime {
147
+ const runtime: NotisRuntime = {
148
+ app: {
149
+ id: 'dev-affiliate-prospects',
150
+ name: 'Affiliate Prospects',
151
+ icon: 'phosphor:users-three',
152
+ description: 'Local development preview.',
153
+ },
154
+ route: routeDescriptor(initialRoute),
155
+ databases: [],
156
+ context: {},
157
+ listTools: async () => [
158
+ {
159
+ name: 'LOCAL_NOTIS_DATABASE_QUERY',
160
+ inputSchema: { type: 'object', properties: { database_slug: { type: 'string' } } },
161
+ },
162
+ ],
163
+ callTool: async <TResult = unknown>(name: string, args?: Record<string, unknown>): Promise<TResult> => {
164
+ if (name !== 'LOCAL_NOTIS_DATABASE_QUERY') {
165
+ throw new Error(`Tool calls unavailable in preview (${name}).`);
166
+ }
167
+ const slug = typeof args?.database_slug === 'string' ? args.database_slug : '';
168
+ return { documents: slug === 'affiliate_prospects_1' ? PROSPECTS : [] } as TResult;
169
+ },
170
+ queryDatabase: async ({ databaseSlug }) => ({
171
+ documents: databaseSlug === 'affiliate_prospects_1' ? PROSPECTS : [],
172
+ }),
173
+ upsertDocument: async () => {
174
+ throw new Error('Document writes are disabled in the local review fixture.');
175
+ },
176
+ request: async () => {
177
+ throw new Error('Backend requests unavailable in preview.');
178
+ },
179
+ navigate: (payload) => {
180
+ if (payload.kind !== 'route' || typeof payload.path !== 'string') return;
181
+ const hashByPath: Record<string, string> = {
182
+ '/': '#/',
183
+ '/prospects': '#/prospects',
184
+ '/segments': '#/segments',
185
+ };
186
+ const hash = hashByPath[payload.path];
187
+ if (hash) window.location.hash = hash;
188
+ },
189
+ registerTopBarSearch: () => {},
190
+ setTopBarSearchValue: () => {},
191
+ setTopBarSearchLoading: () => {},
192
+ };
193
+ window.__AFFILIATE_PROSPECTS_RUNTIME__ = runtime;
194
+ return runtime;
195
+ }
196
+
197
+ export function setMockRoute(route: Route) {
198
+ if (window.__AFFILIATE_PROSPECTS_RUNTIME__) {
199
+ window.__AFFILIATE_PROSPECTS_RUNTIME__.route = routeDescriptor(route);
200
+ }
201
+ }
202
+
203
+ function prospect(
204
+ name: string,
205
+ company: string,
206
+ segment: string,
207
+ status: string,
208
+ priority: string,
209
+ fitScore: number,
210
+ extra: Record<string, unknown>,
211
+ ): MockDocument {
212
+ return {
213
+ id: `prospect-${name.toLowerCase().replace(/[^a-z0-9]+/g, '-')}`,
214
+ title: name,
215
+ properties: {
216
+ Name: name,
217
+ Company: company,
218
+ Segment: segment,
219
+ Status: status,
220
+ Priority: priority,
221
+ 'Fit Score': fitScore,
222
+ 'Enrichment Status': 'Not started',
223
+ 'Outreach Channel': '',
224
+ 'Audience Size': 0,
225
+ 'Monthly Traffic': 0,
226
+ 'Referred Signups': 0,
227
+ 'Activated Referrals': 0,
228
+ 'Attributed MRR': 0,
229
+ 'Opted Out': false,
230
+ ...extra,
231
+ },
232
+ };
233
+ }
234
+
235
+ function routeDescriptor(route: Route) {
236
+ const meta = {
237
+ dashboard: { path: '/', name: 'Dashboard', icon: 'phosphor:squares-four', default: true },
238
+ prospects: { path: '/prospects', name: 'Prospects', icon: 'phosphor:users', default: false },
239
+ segments: { path: '/segments', name: 'Segments', icon: 'phosphor:circles-three-plus', default: false },
240
+ }[route];
241
+ return { slug: route, ...meta, parentSlug: null, collection: null };
242
+ }
@@ -0,0 +1,51 @@
1
+ import type { Config } from 'tailwindcss';
2
+ import tailwindAnimate from 'tailwindcss-animate';
3
+
4
+ const config: Config = {
5
+ darkMode: ['class'],
6
+ content: [
7
+ './app/**/*.{ts,tsx}',
8
+ './components/**/*.{ts,tsx}',
9
+ './lib/**/*.{ts,tsx}',
10
+ ],
11
+ theme: {
12
+ extend: {
13
+ colors: {
14
+ border: 'hsl(var(--border))',
15
+ background: 'hsl(var(--background))',
16
+ foreground: 'hsl(var(--foreground))',
17
+ destructive: {
18
+ DEFAULT: 'hsl(var(--destructive))',
19
+ foreground: 'hsl(var(--destructive-foreground))',
20
+ },
21
+ muted: {
22
+ DEFAULT: 'hsl(var(--muted))',
23
+ foreground: 'hsl(var(--muted-foreground))',
24
+ },
25
+ primary: {
26
+ DEFAULT: 'hsl(var(--primary))',
27
+ foreground: 'hsl(var(--primary-foreground))',
28
+ },
29
+ accent: {
30
+ DEFAULT: 'hsl(var(--accent))',
31
+ foreground: 'hsl(var(--accent-foreground))',
32
+ },
33
+ card: {
34
+ DEFAULT: 'hsl(var(--card))',
35
+ foreground: 'hsl(var(--card-foreground))',
36
+ },
37
+ },
38
+ borderRadius: {
39
+ lg: 'var(--radius)',
40
+ md: 'calc(var(--radius) - 2px)',
41
+ sm: 'calc(var(--radius) - 4px)',
42
+ },
43
+ fontFamily: {
44
+ mono: ['ui-monospace', 'SFMono-Regular', 'Menlo', 'monospace'],
45
+ },
46
+ },
47
+ },
48
+ plugins: [tailwindAnimate],
49
+ };
50
+
51
+ export default config;
@@ -0,0 +1,23 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2017",
4
+ "lib": ["dom", "dom.iterable", "esnext"],
5
+ "allowJs": true,
6
+ "skipLibCheck": true,
7
+ "strict": true,
8
+ "noEmit": true,
9
+ "esModuleInterop": true,
10
+ "module": "esnext",
11
+ "moduleResolution": "bundler",
12
+ "preserveSymlinks": true,
13
+ "resolveJsonModule": true,
14
+ "isolatedModules": true,
15
+ "jsx": "react-jsx",
16
+ "types": ["vite/client", "node"],
17
+ "paths": {
18
+ "@/*": ["./*"]
19
+ }
20
+ },
21
+ "include": ["**/*.ts", "**/*.tsx"],
22
+ "exclude": ["node_modules", "dist"]
23
+ }
@@ -0,0 +1,11 @@
1
+ import { notisViteConfig } from '@notis/sdk/vite';
2
+ import react from '@vitejs/plugin-react';
3
+ import { defineConfig, type UserConfig } from 'vite';
4
+ import appConfig from './notis.config';
5
+
6
+ const libConfig = notisViteConfig(appConfig) as unknown as UserConfig;
7
+
8
+ export default defineConfig({
9
+ ...libConfig,
10
+ plugins: [react(), ...((libConfig.plugins as UserConfig['plugins']) ?? [])],
11
+ });
@@ -1,6 +1,17 @@
1
1
  {
2
2
  "source": "apps/*/notis.config.ts",
3
3
  "scaffolds": [
4
+ {
5
+ "slug": "notis-affiliate-prospects",
6
+ "name": "Affiliate Prospects",
7
+ "description": "A campaign control center for sourcing, qualifying, contacting, and activating high-fit Notis affiliates.",
8
+ "icon": "phosphor:users-three",
9
+ "categories": [
10
+ "Sales & Marketing",
11
+ "Operations"
12
+ ],
13
+ "tagline": "Turn affiliate recruiting into a measurable, repeatable pipeline."
14
+ },
4
15
  {
5
16
  "slug": "notis-database",
6
17
  "name": "Databases",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@notis_ai/cli",
3
- "version": "0.2.0-beta.104.1",
3
+ "version": "0.2.0-beta.112.1",
4
4
  "description": "Agent-first Notis CLI for apps and generic tool execution",
5
5
  "type": "module",
6
6
  "bin": {
@@ -48,6 +48,7 @@ npx --package @notis_ai/cli@latest -- notis apps ...
48
48
  - Build standard pages in `app/`. Do not write raw `views/<slug>/index.js` files.
49
49
  - Keep navigation in `notis.config.ts` `routes`; each route needs a stable `slug`.
50
50
  - Reference existing databases by slug in `notis.config.ts`; do not assume deploy creates databases automatically.
51
+ - Every native database is owned by exactly one app. Creating one with `LOCAL_NOTIS_DATABASE_UPSERT_DATABASE` requires the owning app's slug or id in the `app` argument (create the app first with `LOCAL_NOTIS_CREATE_APP` if needed); deleting an app deletes its databases and their documents.
51
52
  - Declare runtime tool access in `notis.config.ts` `tools`.
52
53
  - Use `@notis/sdk` hooks instead of direct runtime access.
53
54
  - Do not rely on `window.__NOTIS_RUNTIME__` or portal-owned DOM hooks.
@@ -218,7 +218,7 @@ Native Notis databases are accessed through the generic tool workflow, not a fir
218
218
  - `LOCAL_NOTIS_DATABASE_LIST_DATABASES` -- list databases accessible to the current profile
219
219
  - `LOCAL_NOTIS_DATABASE_GET_DATABASE` -- inspect read-only metadata and schema detail
220
220
  - `LOCAL_NOTIS_DATABASE_QUERY` -- query documents from a database
221
- - `LOCAL_NOTIS_DATABASE_UPSERT_DATABASE` -- create or update a database schema
221
+ - `LOCAL_NOTIS_DATABASE_UPSERT_DATABASE` -- create or update a database schema. Every database belongs to a Notis app: creation requires the owning app's slug or id in the `app` argument (create the app first with `LOCAL_NOTIS_CREATE_APP` if needed)
222
222
 
223
223
  Example workflow before building an app:
224
224
 
@@ -13,7 +13,7 @@ For CI, hosted agents, or internal scripts, pass a non-persisted token with `NOT
13
13
  - `LOCAL_NOTIS_DATABASE_LIST_DATABASES` — list native databases.
14
14
  - `LOCAL_NOTIS_DATABASE_GET_DATABASE` — inspect one database schema.
15
15
  - `LOCAL_NOTIS_DATABASE_QUERY` — query native database documents.
16
- - `LOCAL_NOTIS_DATABASE_UPSERT_DATABASE` — create or update database schema.
16
+ - `LOCAL_NOTIS_DATABASE_UPSERT_DATABASE` — create or update database schema. Creation requires the owning app's slug or id in the `app` argument (every database belongs to a Notis app).
17
17
 
18
18
  ## Workflow
19
19
 
package/src/cli.js CHANGED
@@ -68,6 +68,8 @@ function buildRuntime(globalOptions, spec) {
68
68
  ...runtime,
69
69
  cliVersion: CLI_VERSION,
70
70
  color: globalOptions.color !== false,
71
+ quiet: Boolean(globalOptions.quiet),
72
+ verbose: Boolean(globalOptions.verbose),
71
73
  workspacePath,
72
74
  };
73
75
  }
@@ -120,9 +122,14 @@ function attachSpec(program, parentMap, spec, specs) {
120
122
  process.exitCode = typeof exitCode === 'number' ? exitCode : 0;
121
123
  } catch (error) {
122
124
  const runtime = {
123
- ...resolveRuntimeProfile(globalOptions, { requireAuth: false }),
125
+ ...resolveRuntimeProfile(globalOptions, {
126
+ requireAuth: false,
127
+ includeDebugEntitlementOverride: false,
128
+ }),
124
129
  cliVersion: CLI_VERSION,
125
130
  color: globalOptions.color !== false,
131
+ quiet: Boolean(globalOptions.quiet),
132
+ verbose: Boolean(globalOptions.verbose),
126
133
  workspacePath,
127
134
  };
128
135
  const output = new OutputManager(runtime);