create-pmos 0.276.0 → 0.278.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.
- package/package.json +1 -1
- package/payload/KIT-VERSION +1 -1
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/workspace/briefing-premium-board-test.js +1 -1
- package/workspace/briefing-premium-calendar-3-test.js +18 -6
- package/workspace/briefing-premium-initiative-test.js +1 -1
- package/workspace/briefing-premium-insights-test.js +2 -2
- package/workspace/briefing-premium-test.js +3 -2
- package/workspace/briefing-premium-work-test.js +6 -4
- package/workspace/c3-briefing-test.js +2 -2
- package/workspace/c3-capture-test.js +3 -3
- package/workspace/c3-core-docs-test.js +1 -1
- package/workspace/c3-driver-test.js +6 -6
- package/workspace/c3-foundation-test.js +4 -4
- package/workspace/c3-ini-harness.js +2 -2
- package/workspace/c3-initiatives-test.js +1 -1
- package/workspace/c3-light-load-test.js +2 -2
- package/workspace/c3-one-home-test.js +2 -2
- package/workspace/c3-phone-test.js +12 -12
- package/workspace/c3-quiet-test.js +5 -5
- package/workspace/c3-report-design-real-test.js +2 -2
- package/workspace/c3-report-design-test.js +4 -4
- package/workspace/c3-report-setup-test.js +7 -7
- package/workspace/c3-report-structure-real-test.js +2 -2
- package/workspace/c3-report-structure-test.js +2 -2
- package/workspace/c3-reports-test.js +2 -2
- package/workspace/c3-scan-test.js +7 -7
- package/workspace/c3-sessions-panel-test.js +2 -2
- package/workspace/c3-settings-test.js +7 -7
- package/workspace/c3-updates-test.js +1 -1
- package/workspace/c3-work-test.js +2 -2
- package/workspace/extension/README.md +1 -1
- package/workspace/extension/panel.js +3 -3
- package/workspace/extension/popup.js +4 -4
- package/workspace/fixtures/my-work-premium-facts.js +4 -4
- package/workspace/guide/briefing-premium.md +13 -2
- package/workspace/lib/my-work-premium.js +38 -8
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/premium-work-depth-test.js +375 -0
- package/workspace/public/pm/c3-audience-link.js +2 -2
- package/workspace/public/pm/c3-capture.js +2 -2
- package/workspace/public/pm/c3-focus.js +1 -1
- package/workspace/public/pm/premium-board.js +2 -2
- package/workspace/public/pm/premium-insights.js +1 -1
- package/workspace/public/pm/premium-report-read.js +1 -1
- package/workspace/public/pm/premium-shell.js +3 -3
- package/workspace/public/pm/premium-work.js +386 -37
- package/workspace/public/pm/premium.css +45 -0
- package/workspace/public/premium-board.html +1 -1
- package/workspace/public/premium-initiative.html +1 -1
- package/workspace/public/premium-insights.html +1 -1
- package/workspace/public/premium-work.html +1 -1
- package/workspace/public/premium.html +11 -2
- package/workspace/server.js +12 -4
- package/workspace/test-lists/premium-work-depth.json +9 -0
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<header class="top rise" style="--d:0">
|
|
35
35
|
<h1 class="vh" id="iH1">Initiative</h1><div id="crumbHost"></div>
|
|
36
36
|
<div class="tools tools-top"><span class="snap" id="snap">Reading the initiative</span>
|
|
37
|
-
<a class="glass round" id="toConsole" href="/
|
|
37
|
+
<a class="glass round" id="toConsole" href="/console.html" aria-label="Open the console" title="Open the console"><svg class="i" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="3"/><path d="m7 9 3 3-3 3M13 15h4"/></svg></a>
|
|
38
38
|
<button class="glass round sbtn" id="sessBtn" aria-haspopup="dialog" aria-label="Agent sessions" title="Agent sessions"><svg class="i" viewBox="0 0 24 24"><path d="M4 6h16M4 12h10M4 18h6"/><circle cx="18" cy="16" r="3"/></svg><span class="sbdg" id="sessBdg" aria-hidden="true" hidden></span></button>
|
|
39
39
|
<button class="glass round" id="settingsBtn" aria-label="Settings" title="Settings"><svg class="i" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3"/><path d="M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6 7 7M17 17l1.4 1.4M5.6 18.4 7 17M17 7l1.4-1.4"/></svg></button>
|
|
40
40
|
<button class="glass round" id="theme" aria-label="Switch light or dark"><svg class="i" viewBox="0 0 24 24"><path d="M20 14.5A8 8 0 0 1 9.5 4 8 8 0 1 0 20 14.5z"/></svg></button></div>
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<header class="top rise" style="--d:0">
|
|
36
36
|
<h1 class="vh">Insights</h1><div id="crumbHost"></div>
|
|
37
37
|
<div class="tools tools-top"><span class="snap" id="snap">Reading the records</span>
|
|
38
|
-
<a class="glass round" id="toConsole" href="/
|
|
38
|
+
<a class="glass round" id="toConsole" href="/console.html" aria-label="Open the console" title="Open the console"><svg class="i" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="3"/><path d="m7 9 3 3-3 3M13 15h4"/></svg></a>
|
|
39
39
|
<button class="glass round sbtn" id="sessBtn" aria-haspopup="dialog" aria-label="Agent sessions" title="Agent sessions"><svg class="i" viewBox="0 0 24 24"><path d="M4 6h16M4 12h10M4 18h6"/><circle cx="18" cy="16" r="3"/></svg><span class="sbdg" id="sessBdg" aria-hidden="true" hidden></span></button>
|
|
40
40
|
<button class="glass round" id="settingsBtn" aria-label="Settings" title="Settings"><svg class="i" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3"/><path d="M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6 7 7M17 17l1.4 1.4M5.6 18.4 7 17M17 7l1.4-1.4"/></svg></button>
|
|
41
41
|
<button class="glass round" id="theme" aria-label="Switch light or dark"><svg class="i" viewBox="0 0 24 24"><path d="M20 14.5A8 8 0 0 1 9.5 4 8 8 0 1 0 20 14.5z"/></svg></button></div>
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<header class="top rise" style="--d:0">
|
|
35
35
|
<h1 class="vh">My work</h1><span class="glass name" aria-hidden="true">My work</span>
|
|
36
36
|
<div class="tools tools-top"><span class="snap" id="snap">Reading your list</span>
|
|
37
|
-
<a class="glass round" id="toConsole" href="/
|
|
37
|
+
<a class="glass round" id="toConsole" href="/console.html" aria-label="Open the console" title="Open the console"><svg class="i" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="3"/><path d="m7 9 3 3-3 3M13 15h4"/></svg></a>
|
|
38
38
|
<button class="glass round sbtn" id="sessBtn" aria-haspopup="dialog" aria-label="Agent sessions" title="Agent sessions"><svg class="i" viewBox="0 0 24 24"><path d="M4 6h16M4 12h10M4 18h6"/><circle cx="18" cy="16" r="3"/></svg><span class="sbdg" id="sessBdg" aria-hidden="true" hidden></span></button>
|
|
39
39
|
<button class="glass round" id="settingsBtn" aria-label="Settings" title="Settings"><svg class="i" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3"/><path d="M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6 7 7M17 17l1.4 1.4M5.6 18.4 7 17M17 7l1.4-1.4"/></svg></button>
|
|
40
40
|
<button class="glass round" id="theme" aria-label="Switch light or dark"><svg class="i" viewBox="0 0 24 24"><path d="M20 14.5A8 8 0 0 1 9.5 4 8 8 0 1 0 20 14.5z"/></svg></button></div>
|
|
@@ -5,8 +5,17 @@
|
|
|
5
5
|
<meta name="pmos-nonce" content="" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
|
7
7
|
<title>PMOS · Briefing</title>
|
|
8
|
-
<!-- The premium Briefing (initiative briefing-premium, slice 1).
|
|
8
|
+
<!-- The premium Briefing (initiative briefing-premium, slice 1). The default page (premium-default-page); the console is at /console.html.
|
|
9
9
|
The rail's other three places open the matching console tab until their slices land. Slice 2 adds the PM's own presses (record a decision, put a row off, return a run, save a note); the page never writes on its own. -->
|
|
10
|
+
<!-- Add to Home Screen: this is the default page, so it carries what the console carried. The manifest is fetched with credentials because over the
|
|
11
|
+
tailnet every request needs the session cookie. -->
|
|
12
|
+
<link rel="manifest" href="/manifest.webmanifest" crossorigin="use-credentials" />
|
|
13
|
+
<meta name="theme-color" content="#090b0c" />
|
|
14
|
+
<meta name="mobile-web-app-capable" content="yes" />
|
|
15
|
+
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
16
|
+
<meta name="apple-mobile-web-app-title" content="PMOS" />
|
|
17
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
18
|
+
<link rel="apple-touch-icon" href="/icons/apple-touch-icon.png" />
|
|
10
19
|
<link rel="preload" href="/vendor/geist-var.woff2" as="font" type="font/woff2" crossorigin />
|
|
11
20
|
<link rel="stylesheet" href="/pm/premium.css" />
|
|
12
21
|
</head>
|
|
@@ -36,7 +45,7 @@
|
|
|
36
45
|
<h1 class="vh">Briefing</h1><span class="glass name" aria-hidden="true">Briefing</span>
|
|
37
46
|
<div class="tools tools-top"><span class="snap" id="snap">Reading the repository</span>
|
|
38
47
|
<span class="pkw" id="pkw" hidden><button class="fchip" id="pick" aria-haspopup="menu" aria-expanded="false" aria-controls="pickMenu">Products<em id="pickN"></em></button><div class="crmenu pkmenu" id="pickMenu" role="menu" hidden></div></span>
|
|
39
|
-
<a class="glass round" id="toConsole" href="/
|
|
48
|
+
<a class="glass round" id="toConsole" href="/console.html" aria-label="Open the console" title="Open the console"><svg class="i" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="3"/><path d="m7 9 3 3-3 3M13 15h4"/></svg></a>
|
|
40
49
|
<button class="glass round sbtn" id="sessBtn" aria-haspopup="dialog" aria-label="Agent sessions" title="Agent sessions"><svg class="i" viewBox="0 0 24 24"><path d="M4 6h16M4 12h10M4 18h6"/><circle cx="18" cy="16" r="3"/></svg><span class="sbdg" id="sessBdg" aria-hidden="true" hidden></span></button>
|
|
41
50
|
<button class="glass round" id="settingsBtn" aria-label="Settings" title="Settings"><svg class="i" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3"/><path d="M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6 7 7M17 17l1.4 1.4M5.6 18.4 7 17M17 7l1.4-1.4"/></svg></button>
|
|
42
51
|
<button class="glass round" id="theme" aria-label="Switch light or dark"><svg class="i" viewBox="0 0 24 24"><path d="M20 14.5A8 8 0 0 1 9.5 4 8 8 0 1 0 20 14.5z"/></svg></button></div>
|
package/workspace/server.js
CHANGED
|
@@ -6091,14 +6091,22 @@ async function handleRequest(req, res) {
|
|
|
6091
6091
|
const built = BUILD_RE.exec(url.pathname);
|
|
6092
6092
|
const p = built ? built[1] : url.pathname;
|
|
6093
6093
|
|
|
6094
|
-
//
|
|
6095
|
-
//
|
|
6096
|
-
|
|
6094
|
+
// The premium Briefing (public/premium.html) is the default page: '/' and '/index.html' serve it (premium-default-page). The console
|
|
6095
|
+
// (public/c3.html) is served at '/console.html'. '/c3.html' is an old link: bare, it goes to the premium Briefing; with a query
|
|
6096
|
+
// (?tab=, ?studio=, ?audience=, ?capture=, ?demo=) it goes to '/console.html' with the same query, so every link the console made
|
|
6097
|
+
// for itself still lands in the console. The older shell (public/index.html) stays at '/classic.html'.
|
|
6098
|
+
// ROLLBACK, one line: change the final 'premium.html' in the readFile name chain below to 'c3.html' and delete the '/c3.html'
|
|
6099
|
+
// redirect block above.
|
|
6100
|
+
if (p === '/c3.html' || p === '/c3') {
|
|
6101
|
+
res.writeHead(302, { Location: (url.search ? '/console.html' : '/premium.html') + url.search, 'Cache-Control': 'no-store' });
|
|
6102
|
+
return res.end();
|
|
6103
|
+
}
|
|
6104
|
+
if (p === '/' || p === '/index.html' || p === '/console' || p === '/console.html' || p === '/classic' || p === '/classic.html' || p === '/welcome' || p === '/welcome.html' || p === '/premium' || p === '/premium.html' || p === '/premium-work' || p === '/premium-work.html' || p === '/premium-board' || p === '/premium-board.html' || p === '/premium-initiative' || p === '/premium-initiative.html' || p === '/premium-insights' || p === '/premium-insights.html') {
|
|
6097
6105
|
// pm-os-absorb Run 2 (R25, X11): the per-launch nonce goes into the base meta line, nowhere else. no-store, so a
|
|
6098
6106
|
// restarted server never answers a press from a page that holds the previous launch's value. The page code is
|
|
6099
6107
|
// referenced under this launch's build prefix.
|
|
6100
6108
|
const n = pmGuard.launchNonce();
|
|
6101
|
-
return fs.readFile(path.join(PUB, (p === '/classic' || p === '/classic.html') ? 'index.html' : (p === '/welcome' || p === '/welcome.html') ? 'welcome.html' : (p === '/premium' || p === '/premium.html') ? 'premium.html' : (p === '/premium-work' || p === '/premium-work.html') ? 'premium-work.html' : (p === '/premium-board' || p === '/premium-board.html') ? 'premium-board.html' : (p === '/premium-initiative' || p === '/premium-initiative.html') ? 'premium-initiative.html' : (p === '/premium-insights' || p === '/premium-insights.html') ? 'premium-insights.html' : 'c3.html'), 'utf8', (err, html) => {
|
|
6109
|
+
return fs.readFile(path.join(PUB, (p === '/classic' || p === '/classic.html') ? 'index.html' : (p === '/welcome' || p === '/welcome.html') ? 'welcome.html' : (p === '/premium' || p === '/premium.html') ? 'premium.html' : (p === '/premium-work' || p === '/premium-work.html') ? 'premium-work.html' : (p === '/premium-board' || p === '/premium-board.html') ? 'premium-board.html' : (p === '/premium-initiative' || p === '/premium-initiative.html') ? 'premium-initiative.html' : (p === '/premium-insights' || p === '/premium-insights.html') ? 'premium-insights.html' : (p === '/console' || p === '/console.html') ? 'c3.html' : 'premium.html'), 'utf8', (err, html) => {
|
|
6102
6110
|
if (err) { res.writeHead(404); res.end('not found'); return; }
|
|
6103
6111
|
let out = withBuild(html);
|
|
6104
6112
|
if (n) out = out.replace('<meta name="' + pmGuard.NONCE_META + '" content="" />', '<meta name="' + pmGuard.NONCE_META + '" content="' + n + '" />');
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "Initiative premium-work-depth: the premium My work page's deeper presses (edit, steps, Not before, Someday, Focus and jobs, the agent, keys and swipe), with request recording and the real routes on a scratch state folder.",
|
|
3
|
+
"panels": [
|
|
4
|
+
"premium-work-depth-test.js"
|
|
5
|
+
],
|
|
6
|
+
"seconds": {
|
|
7
|
+
"premium-work-depth-test.js": 150
|
|
8
|
+
}
|
|
9
|
+
}
|