diff --git a/src/contextlink/context.js b/src/contextlink/context.js
index 3c7bfe8f4..123445264 100644
--- a/src/contextlink/context.js
+++ b/src/contextlink/context.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class Context {
constructor (values) {
for ( const k in values ) this[k] = values[k];
diff --git a/src/contextlink/entry.js b/src/contextlink/entry.js
index 9bb711a67..3583855c5 100644
--- a/src/contextlink/entry.js
+++ b/src/contextlink/entry.js
@@ -16,22 +16,4 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export { Context } from "./context.js";
diff --git a/src/contextlink/test/testcontext.js b/src/contextlink/test/testcontext.js
index d57c4dd3d..9f50368db 100644
--- a/src/contextlink/test/testcontext.js
+++ b/src/contextlink/test/testcontext.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { Context } from "../context.js";
diff --git a/src/git/config/dev.js b/src/git/config/dev.js
index 9b73c08fc..4bc464f7d 100644
--- a/src/git/config/dev.js
+++ b/src/git/config/dev.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
globalThis.__CONFIG__ = {
sdk_url: 'http://puter.localhost:4100/sdk/puter.js',
proxy_url: 'https://cors.isomorphic-git.org',
diff --git a/src/git/config/release.js b/src/git/config/release.js
index 2af4d14db..dc287e06e 100644
--- a/src/git/config/release.js
+++ b/src/git/config/release.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
globalThis.__CONFIG__ = {
sdk_url: 'https://puter.com/puter.js/v2',
// TODO: Host a proxy ourselves, so we're not relying on (and maybe overloading) theirs.
diff --git a/src/git/rollup.config.js b/src/git/rollup.config.js
index 054059f7e..0097eaef5 100644
--- a/src/git/rollup.config.js
+++ b/src/git/rollup.config.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { nodeResolve } from '@rollup/plugin-node-resolve'
import commonjs from '@rollup/plugin-commonjs';
import copy from 'rollup-plugin-copy';
diff --git a/src/git/src/auth.js b/src/git/src/auth.js
index caf1e6ec9..54828f154 100644
--- a/src/git/src/auth.js
+++ b/src/git/src/auth.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/color.js b/src/git/src/color.js
index 6800b08ff..48d46cab8 100644
--- a/src/git/src/color.js
+++ b/src/git/src/color.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/diff.js b/src/git/src/diff.js
index 2a1e700da..86da0ed2a 100644
--- a/src/git/src/diff.js
+++ b/src/git/src/diff.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/filesystem.js b/src/git/src/filesystem.js
index 51c51b1ac..2378bd0aa 100644
--- a/src/git/src/filesystem.js
+++ b/src/git/src/filesystem.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/format.js b/src/git/src/format.js
index 437ab1b15..3c721d95d 100644
--- a/src/git/src/format.js
+++ b/src/git/src/format.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/git-command-definition.js b/src/git/src/git-command-definition.js
index 57bbdd8f8..a710df310 100644
--- a/src/git/src/git-command-definition.js
+++ b/src/git/src/git-command-definition.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/git-helpers.js b/src/git/src/git-helpers.js
index 215e6b28f..22c3531db 100644
--- a/src/git/src/git-helpers.js
+++ b/src/git/src/git-helpers.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/help.js b/src/git/src/help.js
index 5f6b98242..6b703e746 100644
--- a/src/git/src/help.js
+++ b/src/git/src/help.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/main.js b/src/git/src/main.js
index a110d22c4..86e060a00 100644
--- a/src/git/src/main.js
+++ b/src/git/src/main.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/refs.js b/src/git/src/refs.js
index f335d1996..eaae68782 100644
--- a/src/git/src/refs.js
+++ b/src/git/src/refs.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/__exports__.js b/src/git/src/subcommands/__exports__.js
index b62a22efa..cbd354c57 100644
--- a/src/git/src/subcommands/__exports__.js
+++ b/src/git/src/subcommands/__exports__.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
// Generated by /tools/gen.js
import module_add from './add.js'
import module_branch from './branch.js'
diff --git a/src/git/src/subcommands/add.js b/src/git/src/subcommands/add.js
index dd85c54e4..8233fcbad 100644
--- a/src/git/src/subcommands/add.js
+++ b/src/git/src/subcommands/add.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/branch.js b/src/git/src/subcommands/branch.js
index dec1d04be..1866e046c 100644
--- a/src/git/src/subcommands/branch.js
+++ b/src/git/src/subcommands/branch.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/checkout.js b/src/git/src/subcommands/checkout.js
index 91d30c819..ddd848b4f 100644
--- a/src/git/src/subcommands/checkout.js
+++ b/src/git/src/subcommands/checkout.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/cherry-pick.js b/src/git/src/subcommands/cherry-pick.js
index a8c963234..377e7334d 100644
--- a/src/git/src/subcommands/cherry-pick.js
+++ b/src/git/src/subcommands/cherry-pick.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/clone.js b/src/git/src/subcommands/clone.js
index 9b61668fa..c93da28b3 100644
--- a/src/git/src/subcommands/clone.js
+++ b/src/git/src/subcommands/clone.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/commit.js b/src/git/src/subcommands/commit.js
index 5070749a0..0af26fcb4 100644
--- a/src/git/src/subcommands/commit.js
+++ b/src/git/src/subcommands/commit.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/config.js b/src/git/src/subcommands/config.js
index 94b41a3ea..2b604e55c 100644
--- a/src/git/src/subcommands/config.js
+++ b/src/git/src/subcommands/config.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/diff.js b/src/git/src/subcommands/diff.js
index bde2b4ecc..a46b7f1e2 100644
--- a/src/git/src/subcommands/diff.js
+++ b/src/git/src/subcommands/diff.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/fetch.js b/src/git/src/subcommands/fetch.js
index d9ac9ff11..d65e0772c 100644
--- a/src/git/src/subcommands/fetch.js
+++ b/src/git/src/subcommands/fetch.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/help.js b/src/git/src/subcommands/help.js
index 20b8ed38a..af48792d4 100644
--- a/src/git/src/subcommands/help.js
+++ b/src/git/src/subcommands/help.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/init.js b/src/git/src/subcommands/init.js
index 7c644766a..df7e3ddf6 100644
--- a/src/git/src/subcommands/init.js
+++ b/src/git/src/subcommands/init.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/log.js b/src/git/src/subcommands/log.js
index 747ebcc6e..2741df397 100644
--- a/src/git/src/subcommands/log.js
+++ b/src/git/src/subcommands/log.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/pull.js b/src/git/src/subcommands/pull.js
index f6748c9d1..daff7c713 100644
--- a/src/git/src/subcommands/pull.js
+++ b/src/git/src/subcommands/pull.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/push.js b/src/git/src/subcommands/push.js
index 5b72d9c37..4d8788760 100644
--- a/src/git/src/subcommands/push.js
+++ b/src/git/src/subcommands/push.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/remote.js b/src/git/src/subcommands/remote.js
index 18c48d861..f3fd32b56 100644
--- a/src/git/src/subcommands/remote.js
+++ b/src/git/src/subcommands/remote.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/restore.js b/src/git/src/subcommands/restore.js
index d52ac2cf5..d49f64f7b 100644
--- a/src/git/src/subcommands/restore.js
+++ b/src/git/src/subcommands/restore.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/show.js b/src/git/src/subcommands/show.js
index b6856dba6..77cf6f5b4 100644
--- a/src/git/src/subcommands/show.js
+++ b/src/git/src/subcommands/show.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/status.js b/src/git/src/subcommands/status.js
index f9f06897f..c4c053bd6 100644
--- a/src/git/src/subcommands/status.js
+++ b/src/git/src/subcommands/status.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/git/src/subcommands/version.js b/src/git/src/subcommands/version.js
index 0ce009d8c..6bf82f3b0 100644
--- a/src/git/src/subcommands/version.js
+++ b/src/git/src/subcommands/version.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Git client.
*
diff --git a/src/gui/utils.js b/src/gui/utils.js
index e0ff55a28..d5b1d21a3 100644
--- a/src/gui/utils.js
+++ b/src/gui/utils.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
-Copyright (C) 2024 Puter Technologies Inc.
+Copyright (C) 2024 Puter Technologies Inc.
This file is part of Puter.com.
diff --git a/src/phoenix/config/dev.js b/src/phoenix/config/dev.js
index fb4a27c34..78843bd89 100644
--- a/src/phoenix/config/dev.js
+++ b/src/phoenix/config/dev.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
globalThis.__CONFIG__ = {
"origin": "https://puter.local:8080",
"shell.href": "https://puter.local:8081",
diff --git a/src/phoenix/config/release.js b/src/phoenix/config/release.js
index 8e00ff05b..8a11c77df 100644
--- a/src/phoenix/config/release.js
+++ b/src/phoenix/config/release.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
globalThis.__CONFIG__ = {
origin: "https://xd.puter.sh",
sdk_url: 'https://puter.com/puter.js/v2',
diff --git a/src/phoenix/doc/license_header.txt b/src/phoenix/doc/license_header.txt
index ec7fa5846..282276a28 100644
--- a/src/phoenix/doc/license_header.txt
+++ b/src/phoenix/doc/license_header.txt
@@ -1,4 +1,4 @@
-Copyright (C) 2024 Puter Technologies Inc.
+Copyright (C) 2024 Puter Technologies Inc.
This file is part of Phoenix Shell.
diff --git a/src/phoenix/doc/stash/SymbolParserImpl.js b/src/phoenix/doc/stash/SymbolParserImpl.js
index 5ad3c9a0e..0623eb844 100644
--- a/src/phoenix/doc/stash/SymbolParserImpl.js
+++ b/src/phoenix/doc/stash/SymbolParserImpl.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
// Here for safe-keeping - wasn't correct for shell tokens but
// it will be needed later for variable assignments
diff --git a/src/phoenix/rollup.config.js b/src/phoenix/rollup.config.js
index 9b58543db..ae7dfb13c 100644
--- a/src/phoenix/rollup.config.js
+++ b/src/phoenix/rollup.config.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { nodeResolve } from '@rollup/plugin-node-resolve'
import commonjs from '@rollup/plugin-commonjs';
import copy from 'rollup-plugin-copy';
diff --git a/src/phoenix/src/ansi-shell/ANSIContext.js b/src/phoenix/src/ansi-shell/ANSIContext.js
index 5fca28012..612c9b3ac 100644
--- a/src/phoenix/src/ansi-shell/ANSIContext.js
+++ b/src/phoenix/src/ansi-shell/ANSIContext.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Context } from "../context/context.js";
const modifiers = ['shift', 'alt', 'ctrl', 'meta'];
diff --git a/src/phoenix/src/ansi-shell/ANSIShell.js b/src/phoenix/src/ansi-shell/ANSIShell.js
index f0a0baad8..93df6c31a 100644
--- a/src/phoenix/src/ansi-shell/ANSIShell.js
+++ b/src/phoenix/src/ansi-shell/ANSIShell.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { ConcreteSyntaxError } from "./ConcreteSyntaxError.js";
import { MultiWriter } from "./ioutil/MultiWriter.js";
import { Coupler } from "./pipeline/Coupler.js";
diff --git a/src/phoenix/src/ansi-shell/ConcreteSyntaxError.js b/src/phoenix/src/ansi-shell/ConcreteSyntaxError.js
index 70bc7b33d..9ea38d4dd 100644
--- a/src/phoenix/src/ansi-shell/ConcreteSyntaxError.js
+++ b/src/phoenix/src/ansi-shell/ConcreteSyntaxError.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
/**
* An error for which the location it occurred within the input is known.
*/
diff --git a/src/phoenix/src/ansi-shell/arg-parsers/simple-parser.js b/src/phoenix/src/ansi-shell/arg-parsers/simple-parser.js
index 0c77fec5e..44b47a27f 100644
--- a/src/phoenix/src/ansi-shell/arg-parsers/simple-parser.js
+++ b/src/phoenix/src/ansi-shell/arg-parsers/simple-parser.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { parseArgs } from '@pkgjs/parseargs';
import { DEFAULT_OPTIONS } from '../../puter-shell/coreutils/coreutil_lib/help.js';
diff --git a/src/phoenix/src/ansi-shell/decorators/errors.js b/src/phoenix/src/ansi-shell/decorators/errors.js
index fb81bb613..199a6262d 100644
--- a/src/phoenix/src/ansi-shell/decorators/errors.js
+++ b/src/phoenix/src/ansi-shell/decorators/errors.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export default {
name: 'errors',
decorate (fn, { command, ctx }) {
diff --git a/src/phoenix/src/ansi-shell/ioutil/ByteWriter.js b/src/phoenix/src/ansi-shell/ioutil/ByteWriter.js
index 756ca4095..d29fb46f7 100644
--- a/src/phoenix/src/ansi-shell/ioutil/ByteWriter.js
+++ b/src/phoenix/src/ansi-shell/ioutil/ByteWriter.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { ProxyWriter } from "./ProxyWriter.js";
const encoder = new TextEncoder();
diff --git a/src/phoenix/src/ansi-shell/ioutil/MemReader.js b/src/phoenix/src/ansi-shell/ioutil/MemReader.js
index 11a7c8f1b..b412c7de0 100644
--- a/src/phoenix/src/ansi-shell/ioutil/MemReader.js
+++ b/src/phoenix/src/ansi-shell/ioutil/MemReader.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class MemReader {
constructor (data) {
this.data = data;
diff --git a/src/phoenix/src/ansi-shell/ioutil/MemWriter.js b/src/phoenix/src/ansi-shell/ioutil/MemWriter.js
index aa1675a49..8c59a6ff2 100644
--- a/src/phoenix/src/ansi-shell/ioutil/MemWriter.js
+++ b/src/phoenix/src/ansi-shell/ioutil/MemWriter.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
const encoder = new TextEncoder();
export class MemWriter {
diff --git a/src/phoenix/src/ansi-shell/ioutil/MultiWriter.js b/src/phoenix/src/ansi-shell/ioutil/MultiWriter.js
index 75e14f0f1..939b3e7d2 100644
--- a/src/phoenix/src/ansi-shell/ioutil/MultiWriter.js
+++ b/src/phoenix/src/ansi-shell/ioutil/MultiWriter.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class MultiWriter {
constructor ({ delegates }) {
this.delegates = delegates;
diff --git a/src/phoenix/src/ansi-shell/ioutil/NullifyWriter.js b/src/phoenix/src/ansi-shell/ioutil/NullifyWriter.js
index f51af4d41..0773467af 100644
--- a/src/phoenix/src/ansi-shell/ioutil/NullifyWriter.js
+++ b/src/phoenix/src/ansi-shell/ioutil/NullifyWriter.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { ProxyWriter } from "./ProxyWriter.js";
export class NullifyWriter extends ProxyWriter {
diff --git a/src/phoenix/src/ansi-shell/ioutil/ProxyReader.js b/src/phoenix/src/ansi-shell/ioutil/ProxyReader.js
index 3c202dd1c..9e76ac9e8 100644
--- a/src/phoenix/src/ansi-shell/ioutil/ProxyReader.js
+++ b/src/phoenix/src/ansi-shell/ioutil/ProxyReader.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class ProxyReader {
constructor ({ delegate }) {
this.delegate = delegate;
diff --git a/src/phoenix/src/ansi-shell/ioutil/ProxyWriter.js b/src/phoenix/src/ansi-shell/ioutil/ProxyWriter.js
index 5ee46b0b8..9cdc17489 100644
--- a/src/phoenix/src/ansi-shell/ioutil/ProxyWriter.js
+++ b/src/phoenix/src/ansi-shell/ioutil/ProxyWriter.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class ProxyWriter {
constructor ({ delegate }) {
this.delegate = delegate;
diff --git a/src/phoenix/src/ansi-shell/ioutil/SignalReader.js b/src/phoenix/src/ansi-shell/ioutil/SignalReader.js
index 66cc99301..a4d587f61 100644
--- a/src/phoenix/src/ansi-shell/ioutil/SignalReader.js
+++ b/src/phoenix/src/ansi-shell/ioutil/SignalReader.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { ANSIContext } from "../ANSIContext.js";
import { signals } from "../signals.js";
import { ProxyReader } from "./ProxyReader.js";
diff --git a/src/phoenix/src/ansi-shell/ioutil/SyncLinesReader.js b/src/phoenix/src/ansi-shell/ioutil/SyncLinesReader.js
index 69fb781fd..a6ea91e5a 100644
--- a/src/phoenix/src/ansi-shell/ioutil/SyncLinesReader.js
+++ b/src/phoenix/src/ansi-shell/ioutil/SyncLinesReader.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { ProxyReader } from "./ProxyReader.js";
const decoder = new TextDecoder();
diff --git a/src/phoenix/src/ansi-shell/parsing/PARSE_CONSTANTS.js b/src/phoenix/src/ansi-shell/parsing/PARSE_CONSTANTS.js
index 75df56c01..b8168c1de 100644
--- a/src/phoenix/src/ansi-shell/parsing/PARSE_CONSTANTS.js
+++ b/src/phoenix/src/ansi-shell/parsing/PARSE_CONSTANTS.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export const PARSE_CONSTANTS = {
list_ws: [' ', '\n', '\t'],
list_quot: [`"`, `'`],
diff --git a/src/phoenix/src/ansi-shell/parsing/PuterShellParser.js b/src/phoenix/src/ansi-shell/parsing/PuterShellParser.js
index 297b3d855..50eba1783 100644
--- a/src/phoenix/src/ansi-shell/parsing/PuterShellParser.js
+++ b/src/phoenix/src/ansi-shell/parsing/PuterShellParser.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { StrataParser, StringPStratumImpl } from "strataparse";
import { buildParserFirstHalf } from "./buildParserFirstHalf.js";
import { buildParserSecondHalf } from "./buildParserSecondHalf.js";
diff --git a/src/phoenix/src/ansi-shell/parsing/UnquotedTokenParserImpl.js b/src/phoenix/src/ansi-shell/parsing/UnquotedTokenParserImpl.js
index 142c01790..71d028b92 100644
--- a/src/phoenix/src/ansi-shell/parsing/UnquotedTokenParserImpl.js
+++ b/src/phoenix/src/ansi-shell/parsing/UnquotedTokenParserImpl.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
const list_ws = [' ', '\n', '\t'];
const list_quot = [`"`, `'`];
const list_stoptoken = [
diff --git a/src/phoenix/src/ansi-shell/parsing/brainstorming.js b/src/phoenix/src/ansi-shell/parsing/brainstorming.js
index f6d760ccb..189e9c4dc 100644
--- a/src/phoenix/src/ansi-shell/parsing/brainstorming.js
+++ b/src/phoenix/src/ansi-shell/parsing/brainstorming.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
const seq = [
{ $: 'symbol', text: 'command' },
{ $: 'string.dquote' },
diff --git a/src/phoenix/src/ansi-shell/parsing/buildParserFirstHalf.js b/src/phoenix/src/ansi-shell/parsing/buildParserFirstHalf.js
index 932c41fc1..7666be3a9 100644
--- a/src/phoenix/src/ansi-shell/parsing/buildParserFirstHalf.js
+++ b/src/phoenix/src/ansi-shell/parsing/buildParserFirstHalf.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { FirstRecognizedPStratumImpl, ParserBuilder, ParserFactory, StrUntilParserImpl, StrataParseFacade, WhitespaceParserImpl } from "strataparse";
import { UnquotedTokenParserImpl } from "./UnquotedTokenParserImpl.js";
import { PARSE_CONSTANTS } from "./PARSE_CONSTANTS.js";
diff --git a/src/phoenix/src/ansi-shell/parsing/buildParserSecondHalf.js b/src/phoenix/src/ansi-shell/parsing/buildParserSecondHalf.js
index 00cc36aa5..021504851 100644
--- a/src/phoenix/src/ansi-shell/parsing/buildParserSecondHalf.js
+++ b/src/phoenix/src/ansi-shell/parsing/buildParserSecondHalf.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { ParserBuilder, ParserFactory, StrataParseFacade } from "strataparse"
import { PARSE_CONSTANTS } from "./PARSE_CONSTANTS.js";
diff --git a/src/phoenix/src/ansi-shell/pipeline/Coupler.js b/src/phoenix/src/ansi-shell/pipeline/Coupler.js
index 517dd405c..90893e584 100644
--- a/src/phoenix/src/ansi-shell/pipeline/Coupler.js
+++ b/src/phoenix/src/ansi-shell/pipeline/Coupler.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { TeePromise, raceCase } from "../../promise.js";
export class Coupler {
diff --git a/src/phoenix/src/ansi-shell/pipeline/Pipe.js b/src/phoenix/src/ansi-shell/pipeline/Pipe.js
index 41533aabd..b3d262af3 100644
--- a/src/phoenix/src/ansi-shell/pipeline/Pipe.js
+++ b/src/phoenix/src/ansi-shell/pipeline/Pipe.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class Pipe {
constructor () {
this.readableStream = new ReadableStream({
diff --git a/src/phoenix/src/ansi-shell/pipeline/Pipeline.js b/src/phoenix/src/ansi-shell/pipeline/Pipeline.js
index 35dfa96fe..46cada8e6 100644
--- a/src/phoenix/src/ansi-shell/pipeline/Pipeline.js
+++ b/src/phoenix/src/ansi-shell/pipeline/Pipeline.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { SyncLinesReader } from "../ioutil/SyncLinesReader.js";
import { TOKENS } from "../readline/readtoken.js";
import { ByteWriter } from "../ioutil/ByteWriter.js";
diff --git a/src/phoenix/src/ansi-shell/pipeline/iowrappers.js b/src/phoenix/src/ansi-shell/pipeline/iowrappers.js
index 324a59046..8cadfc2d4 100644
--- a/src/phoenix/src/ansi-shell/pipeline/iowrappers.js
+++ b/src/phoenix/src/ansi-shell/pipeline/iowrappers.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class CommandStdinDecorator {
constructor (rs) {
this.rs = rs;
diff --git a/src/phoenix/src/ansi-shell/readline/history.js b/src/phoenix/src/ansi-shell/readline/history.js
index ead08e74b..7457eb1e4 100644
--- a/src/phoenix/src/ansi-shell/readline/history.js
+++ b/src/phoenix/src/ansi-shell/readline/history.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class HistoryManager {
constructor({ enableLogging = false } = {}) {
this.items = [];
diff --git a/src/phoenix/src/ansi-shell/readline/readline.js b/src/phoenix/src/ansi-shell/readline/readline.js
index 1a99804c1..64c068e3e 100644
--- a/src/phoenix/src/ansi-shell/readline/readline.js
+++ b/src/phoenix/src/ansi-shell/readline/readline.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Context } from '../../context/context.js';
import { CommandCompleter } from '../../puter-shell/completers/CommandCompleter.js';
import { FileCompleter } from '../../puter-shell/completers/FileCompleter.js';
diff --git a/src/phoenix/src/ansi-shell/readline/readtoken.js b/src/phoenix/src/ansi-shell/readline/readtoken.js
index 459aa0a52..84f51c02a 100644
--- a/src/phoenix/src/ansi-shell/readline/readtoken.js
+++ b/src/phoenix/src/ansi-shell/readline/readtoken.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
// [reference impl](https://github.com/brgl/busybox/blob/master/shell/ash.c)
const list_ws = [' ', '\n', '\t'];
diff --git a/src/phoenix/src/ansi-shell/readline/rl_comprehend.js b/src/phoenix/src/ansi-shell/readline/rl_comprehend.js
index 30c958b52..c921a5ada 100644
--- a/src/phoenix/src/ansi-shell/readline/rl_comprehend.js
+++ b/src/phoenix/src/ansi-shell/readline/rl_comprehend.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
// This function comprehends the readline input and returns something
// called a "readline input state" - this includes any information needed
diff --git a/src/phoenix/src/ansi-shell/readline/rl_csi_handlers.js b/src/phoenix/src/ansi-shell/readline/rl_csi_handlers.js
index 22470166e..fa59193a2 100644
--- a/src/phoenix/src/ansi-shell/readline/rl_csi_handlers.js
+++ b/src/phoenix/src/ansi-shell/readline/rl_csi_handlers.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
/*
## this source file
- maps: CSI (Control Sequence Introducer) sequences
diff --git a/src/phoenix/src/ansi-shell/readline/rl_words.js b/src/phoenix/src/ansi-shell/readline/rl_words.js
index 0fd1293ee..3d0a031b6 100644
--- a/src/phoenix/src/ansi-shell/readline/rl_words.js
+++ b/src/phoenix/src/ansi-shell/readline/rl_words.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export const findNextWord = (str, from, reverse) => {
let stage = 0;
let incr = reverse ? -1 : 1;
diff --git a/src/phoenix/src/ansi-shell/signals.js b/src/phoenix/src/ansi-shell/signals.js
index bf060b5be..585d3a82b 100644
--- a/src/phoenix/src/ansi-shell/signals.js
+++ b/src/phoenix/src/ansi-shell/signals.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export const signals = Object.freeze({
SIGINT: 2,
SIGQUIT: 3,
diff --git a/src/phoenix/src/context/context.js b/src/phoenix/src/context/context.js
index 2d6d67d30..1df63940a 100644
--- a/src/phoenix/src/context/context.js
+++ b/src/phoenix/src/context/context.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class AbstractContext {
get constants () {
return this.instance_.constants;
diff --git a/src/phoenix/src/main_cli.js b/src/phoenix/src/main_cli.js
index 093ffb290..6bf740553 100644
--- a/src/phoenix/src/main_cli.js
+++ b/src/phoenix/src/main_cli.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Context } from 'contextlink';
import { launchPuterShell } from './puter-shell/main.js';
import { NodeStdioPTT } from './pty/NodeStdioPTT.js';
diff --git a/src/phoenix/src/main_puter.js b/src/phoenix/src/main_puter.js
index 4182fad99..85dc0af02 100644
--- a/src/phoenix/src/main_puter.js
+++ b/src/phoenix/src/main_puter.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Context } from 'contextlink';
import { launchPuterShell } from './puter-shell/main.js';
import { CreateFilesystemProvider } from './platform/puter/filesystem.js';
diff --git a/src/phoenix/src/meta/versions.js b/src/phoenix/src/meta/versions.js
index f56ebe2d9..ea5034821 100644
--- a/src/phoenix/src/meta/versions.js
+++ b/src/phoenix/src/meta/versions.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export const SHELL_VERSIONS = [
{
v: '0.2.4',
diff --git a/src/phoenix/src/platform/node/filesystem.js b/src/phoenix/src/platform/node/filesystem.js
index c067acb2c..7ca993095 100644
--- a/src/phoenix/src/platform/node/filesystem.js
+++ b/src/phoenix/src/platform/node/filesystem.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import fs from 'fs';
import path_ from 'path';
diff --git a/src/phoenix/src/platform/puter/drivers.js b/src/phoenix/src/platform/puter/drivers.js
index 20ab8fa38..c7cb7761b 100644
--- a/src/phoenix/src/platform/puter/drivers.js
+++ b/src/phoenix/src/platform/puter/drivers.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export const CreateDriversProvider = ({
puterSDK
}) => {
diff --git a/src/phoenix/src/platform/puter/filesystem.js b/src/phoenix/src/platform/puter/filesystem.js
index 5e028facf..49bc878fe 100644
--- a/src/phoenix/src/platform/puter/filesystem.js
+++ b/src/phoenix/src/platform/puter/filesystem.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { ErrorCodes, PosixError } from '@heyputer/puter-js-common/src/PosixError.js';
// DRY: Almost the same as node/filesystem.js
diff --git a/src/phoenix/src/pty/XDocumentPTT.js b/src/phoenix/src/pty/XDocumentPTT.js
index 3846583d1..e9afbb6fe 100644
--- a/src/phoenix/src/pty/XDocumentPTT.js
+++ b/src/phoenix/src/pty/XDocumentPTT.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { BetterReader } from "dev-pty";
const encoder = new TextEncoder();
diff --git a/src/phoenix/src/puter-shell/completers/CommandCompleter.js b/src/phoenix/src/puter-shell/completers/CommandCompleter.js
index 4e9d7f6a5..4e6e09364 100644
--- a/src/phoenix/src/puter-shell/completers/CommandCompleter.js
+++ b/src/phoenix/src/puter-shell/completers/CommandCompleter.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class CommandCompleter {
async getCompletions (ctx, inputState) {
const { builtins } = ctx.registries;
diff --git a/src/phoenix/src/puter-shell/completers/FileCompleter.js b/src/phoenix/src/puter-shell/completers/FileCompleter.js
index 392f19e35..36465362c 100644
--- a/src/phoenix/src/puter-shell/completers/FileCompleter.js
+++ b/src/phoenix/src/puter-shell/completers/FileCompleter.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import path_ from "path-browserify";
import { resolveRelativePath } from '../../util/path.js';
diff --git a/src/phoenix/src/puter-shell/completers/OptionCompleter.js b/src/phoenix/src/puter-shell/completers/OptionCompleter.js
index b9906a4a2..3b40ac1f7 100644
--- a/src/phoenix/src/puter-shell/completers/OptionCompleter.js
+++ b/src/phoenix/src/puter-shell/completers/OptionCompleter.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { DEFAULT_OPTIONS } from '../coreutils/coreutil_lib/help.js';
export class OptionCompleter {
diff --git a/src/phoenix/src/puter-shell/coreutils/__exports__.js b/src/phoenix/src/puter-shell/coreutils/__exports__.js
index 6576a1c7c..cedc87c9e 100644
--- a/src/phoenix/src/puter-shell/coreutils/__exports__.js
+++ b/src/phoenix/src/puter-shell/coreutils/__exports__.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
// Generated by /tools/gen.js
import module_ai from './ai.js'
import module_basename from './basename.js'
diff --git a/src/phoenix/src/puter-shell/coreutils/ai.js b/src/phoenix/src/puter-shell/coreutils/ai.js
index c73ddf973..b05e3c780 100644
--- a/src/phoenix/src/puter-shell/coreutils/ai.js
+++ b/src/phoenix/src/puter-shell/coreutils/ai.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
export default {
diff --git a/src/phoenix/src/puter-shell/coreutils/basename.js b/src/phoenix/src/puter-shell/coreutils/basename.js
index e7ede7391..d1434e21e 100644
--- a/src/phoenix/src/puter-shell/coreutils/basename.js
+++ b/src/phoenix/src/puter-shell/coreutils/basename.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
export default {
diff --git a/src/phoenix/src/puter-shell/coreutils/cat.js b/src/phoenix/src/puter-shell/coreutils/cat.js
index b555fdc1a..32e639ed0 100644
--- a/src/phoenix/src/puter-shell/coreutils/cat.js
+++ b/src/phoenix/src/puter-shell/coreutils/cat.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { resolveRelativePath } from '../../util/path.js';
export default {
diff --git a/src/phoenix/src/puter-shell/coreutils/cd.js b/src/phoenix/src/puter-shell/coreutils/cd.js
index 0463290e4..74829d119 100644
--- a/src/phoenix/src/puter-shell/coreutils/cd.js
+++ b/src/phoenix/src/puter-shell/coreutils/cd.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
import { resolveRelativePath } from '../../util/path.js';
diff --git a/src/phoenix/src/puter-shell/coreutils/changelog.js b/src/phoenix/src/puter-shell/coreutils/changelog.js
index 0785df0dd..13d02d4f3 100644
--- a/src/phoenix/src/puter-shell/coreutils/changelog.js
+++ b/src/phoenix/src/puter-shell/coreutils/changelog.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { SHELL_VERSIONS } from "../../meta/versions.js";
async function printVersion(ctx, version) {
diff --git a/src/phoenix/src/puter-shell/coreutils/clear.js b/src/phoenix/src/puter-shell/coreutils/clear.js
index e25a9184f..8b6c7d72b 100644
--- a/src/phoenix/src/puter-shell/coreutils/clear.js
+++ b/src/phoenix/src/puter-shell/coreutils/clear.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export default {
name: 'clear',
usage: 'clear',
diff --git a/src/phoenix/src/puter-shell/coreutils/coreutil_lib/echo_escapes.js b/src/phoenix/src/puter-shell/coreutils/coreutil_lib/echo_escapes.js
index d6c1339ce..05a962660 100644
--- a/src/phoenix/src/puter-shell/coreutils/coreutil_lib/echo_escapes.js
+++ b/src/phoenix/src/puter-shell/coreutils/coreutil_lib/echo_escapes.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
/*
Echo Escapes Implementations
----------------------------
diff --git a/src/phoenix/src/puter-shell/coreutils/coreutil_lib/exit.js b/src/phoenix/src/puter-shell/coreutils/coreutil_lib/exit.js
index 95efc7d1b..dd3af6de2 100644
--- a/src/phoenix/src/puter-shell/coreutils/coreutil_lib/exit.js
+++ b/src/phoenix/src/puter-shell/coreutils/coreutil_lib/exit.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class Exit extends Error {
constructor (code) {
super(`exit ${code}`);
diff --git a/src/phoenix/src/puter-shell/coreutils/coreutil_lib/help.js b/src/phoenix/src/puter-shell/coreutils/coreutil_lib/help.js
index 02eb94d80..3d2b62ba1 100644
--- a/src/phoenix/src/puter-shell/coreutils/coreutil_lib/help.js
+++ b/src/phoenix/src/puter-shell/coreutils/coreutil_lib/help.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { wrapText } from '../../../util/wrap-text.js';
const TAB_SIZE = 8;
diff --git a/src/phoenix/src/puter-shell/coreutils/coreutil_lib/validate.js b/src/phoenix/src/puter-shell/coreutils/coreutil_lib/validate.js
index efbcf957a..f5184bb58 100644
--- a/src/phoenix/src/puter-shell/coreutils/coreutil_lib/validate.js
+++ b/src/phoenix/src/puter-shell/coreutils/coreutil_lib/validate.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export const validate_string = (str, meta) => {
if ( str === undefined ) {
if ( ! meta.allow_empty ) {
diff --git a/src/phoenix/src/puter-shell/coreutils/cp.js b/src/phoenix/src/puter-shell/coreutils/cp.js
index d0d173428..5edbe63a7 100644
--- a/src/phoenix/src/puter-shell/coreutils/cp.js
+++ b/src/phoenix/src/puter-shell/coreutils/cp.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from "./coreutil_lib/exit.js";
import { resolveRelativePath } from '../../util/path.js';
diff --git a/src/phoenix/src/puter-shell/coreutils/date.js b/src/phoenix/src/puter-shell/coreutils/date.js
index 028dfbba9..c15433ccd 100644
--- a/src/phoenix/src/puter-shell/coreutils/date.js
+++ b/src/phoenix/src/puter-shell/coreutils/date.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
// "When no formatting operand is specified, the output in the POSIX locale shall be equivalent to specifying:"
diff --git a/src/phoenix/src/puter-shell/coreutils/dcall.js b/src/phoenix/src/puter-shell/coreutils/dcall.js
index 144a54640..378802f5b 100644
--- a/src/phoenix/src/puter-shell/coreutils/dcall.js
+++ b/src/phoenix/src/puter-shell/coreutils/dcall.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
function highlight(text) {
return `\x1B[92m${text}\x1B[0m`;
}
diff --git a/src/phoenix/src/puter-shell/coreutils/dirname.js b/src/phoenix/src/puter-shell/coreutils/dirname.js
index dbd595af3..36f794844 100644
--- a/src/phoenix/src/puter-shell/coreutils/dirname.js
+++ b/src/phoenix/src/puter-shell/coreutils/dirname.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
export default {
diff --git a/src/phoenix/src/puter-shell/coreutils/echo.js b/src/phoenix/src/puter-shell/coreutils/echo.js
index f5bda9cdc..b0673c348 100644
--- a/src/phoenix/src/puter-shell/coreutils/echo.js
+++ b/src/phoenix/src/puter-shell/coreutils/echo.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { processEscapes } from "./coreutil_lib/echo_escapes.js";
export default {
diff --git a/src/phoenix/src/puter-shell/coreutils/env.js b/src/phoenix/src/puter-shell/coreutils/env.js
index 5cd6776be..1d2beedcf 100644
--- a/src/phoenix/src/puter-shell/coreutils/env.js
+++ b/src/phoenix/src/puter-shell/coreutils/env.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export default {
name: 'env',
usage: 'env',
diff --git a/src/phoenix/src/puter-shell/coreutils/errno.js b/src/phoenix/src/puter-shell/coreutils/errno.js
index 34b509b39..8ea010c1d 100644
--- a/src/phoenix/src/puter-shell/coreutils/errno.js
+++ b/src/phoenix/src/puter-shell/coreutils/errno.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { ErrorCodes, ErrorMetadata, errorFromIntegerCode } from '@heyputer/puter-js-common/src/PosixError.js';
import { Exit } from './coreutil_lib/exit.js';
diff --git a/src/phoenix/src/puter-shell/coreutils/exit.js b/src/phoenix/src/puter-shell/coreutils/exit.js
index b0fcd9987..d93158fe9 100644
--- a/src/phoenix/src/puter-shell/coreutils/exit.js
+++ b/src/phoenix/src/puter-shell/coreutils/exit.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
export default {
diff --git a/src/phoenix/src/puter-shell/coreutils/false.js b/src/phoenix/src/puter-shell/coreutils/false.js
index 5b31e632f..3066a476c 100644
--- a/src/phoenix/src/puter-shell/coreutils/false.js
+++ b/src/phoenix/src/puter-shell/coreutils/false.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
export default {
diff --git a/src/phoenix/src/puter-shell/coreutils/grep.js b/src/phoenix/src/puter-shell/coreutils/grep.js
index 718af4d11..d89b9f543 100644
--- a/src/phoenix/src/puter-shell/coreutils/grep.js
+++ b/src/phoenix/src/puter-shell/coreutils/grep.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { resolveRelativePath } from '../../util/path.js';
const lxor = (a, b) => a ? !b : b;
diff --git a/src/phoenix/src/puter-shell/coreutils/head.js b/src/phoenix/src/puter-shell/coreutils/head.js
index ba6ecc55f..48c853e6a 100644
--- a/src/phoenix/src/puter-shell/coreutils/head.js
+++ b/src/phoenix/src/puter-shell/coreutils/head.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
import { fileLines } from '../../util/file.js';
diff --git a/src/phoenix/src/puter-shell/coreutils/help.js b/src/phoenix/src/puter-shell/coreutils/help.js
index 5171cf735..45c5fbd17 100644
--- a/src/phoenix/src/puter-shell/coreutils/help.js
+++ b/src/phoenix/src/puter-shell/coreutils/help.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
// TODO: fetch help information from command registry
import { printUsage } from "./coreutil_lib/help.js";
diff --git a/src/phoenix/src/puter-shell/coreutils/jq.js b/src/phoenix/src/puter-shell/coreutils/jq.js
index 3f92f8f97..bfd934d05 100644
--- a/src/phoenix/src/puter-shell/coreutils/jq.js
+++ b/src/phoenix/src/puter-shell/coreutils/jq.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import jsonQuery from 'json-query';
import { signals } from '../../ansi-shell/signals.js';
import { Exit } from './coreutil_lib/exit.js';
diff --git a/src/phoenix/src/puter-shell/coreutils/login.js b/src/phoenix/src/puter-shell/coreutils/login.js
index 2ef56d43a..8f86c759a 100644
--- a/src/phoenix/src/puter-shell/coreutils/login.js
+++ b/src/phoenix/src/puter-shell/coreutils/login.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
export default {
diff --git a/src/phoenix/src/puter-shell/coreutils/ls.js b/src/phoenix/src/puter-shell/coreutils/ls.js
index de6cbc8e7..351d19095 100644
--- a/src/phoenix/src/puter-shell/coreutils/ls.js
+++ b/src/phoenix/src/puter-shell/coreutils/ls.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import columnify from "columnify";
import cli_columns from "cli-columns";
import { resolveRelativePath } from '../../util/path.js';
diff --git a/src/phoenix/src/puter-shell/coreutils/man.js b/src/phoenix/src/puter-shell/coreutils/man.js
index 2af6ff1e0..5884fa173 100644
--- a/src/phoenix/src/puter-shell/coreutils/man.js
+++ b/src/phoenix/src/puter-shell/coreutils/man.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export default {
name: 'man',
usage: 'man',
diff --git a/src/phoenix/src/puter-shell/coreutils/mkdir.js b/src/phoenix/src/puter-shell/coreutils/mkdir.js
index dd6deef5b..955f78101 100644
--- a/src/phoenix/src/puter-shell/coreutils/mkdir.js
+++ b/src/phoenix/src/puter-shell/coreutils/mkdir.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { validate_string } from "./coreutil_lib/validate.js";
import { EMPTY } from "../../util/singleton.js";
import { Exit } from './coreutil_lib/exit.js';
diff --git a/src/phoenix/src/puter-shell/coreutils/mv.js b/src/phoenix/src/puter-shell/coreutils/mv.js
index d32146d86..62b2b3951 100644
--- a/src/phoenix/src/puter-shell/coreutils/mv.js
+++ b/src/phoenix/src/puter-shell/coreutils/mv.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
import { resolveRelativePath } from '../../util/path.js';
diff --git a/src/phoenix/src/puter-shell/coreutils/neofetch.js b/src/phoenix/src/puter-shell/coreutils/neofetch.js
index 27ceb11fd..65943acda 100644
--- a/src/phoenix/src/puter-shell/coreutils/neofetch.js
+++ b/src/phoenix/src/puter-shell/coreutils/neofetch.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { SHELL_VERSIONS } from "../../meta/versions.js";
const logo = `
diff --git a/src/phoenix/src/puter-shell/coreutils/printf.js b/src/phoenix/src/puter-shell/coreutils/printf.js
index 51d0aa3df..3dc8bdacc 100644
--- a/src/phoenix/src/puter-shell/coreutils/printf.js
+++ b/src/phoenix/src/puter-shell/coreutils/printf.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
// TODO: get these values from a common place
diff --git a/src/phoenix/src/puter-shell/coreutils/printhist.js b/src/phoenix/src/puter-shell/coreutils/printhist.js
index 88efc09ff..5784e237c 100644
--- a/src/phoenix/src/puter-shell/coreutils/printhist.js
+++ b/src/phoenix/src/puter-shell/coreutils/printhist.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export default {
name: 'printhist',
usage: 'printhist',
diff --git a/src/phoenix/src/puter-shell/coreutils/pwd.js b/src/phoenix/src/puter-shell/coreutils/pwd.js
index f6be908aa..cdd75600d 100644
--- a/src/phoenix/src/puter-shell/coreutils/pwd.js
+++ b/src/phoenix/src/puter-shell/coreutils/pwd.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export default {
name: 'pwd',
diff --git a/src/phoenix/src/puter-shell/coreutils/rm.js b/src/phoenix/src/puter-shell/coreutils/rm.js
index 2e1e09f66..15899160d 100644
--- a/src/phoenix/src/puter-shell/coreutils/rm.js
+++ b/src/phoenix/src/puter-shell/coreutils/rm.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { resolveRelativePath } from '../../util/path.js';
// TODO: add logic to check if directory is empty
diff --git a/src/phoenix/src/puter-shell/coreutils/rmdir.js b/src/phoenix/src/puter-shell/coreutils/rmdir.js
index 9efceb355..0d3a24a0b 100644
--- a/src/phoenix/src/puter-shell/coreutils/rmdir.js
+++ b/src/phoenix/src/puter-shell/coreutils/rmdir.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { resolveRelativePath } from '../../util/path.js';
// TODO: add logic to check if directory is empty
diff --git a/src/phoenix/src/puter-shell/coreutils/sample-data.js b/src/phoenix/src/puter-shell/coreutils/sample-data.js
index ce3b05bf6..df6e6a871 100644
--- a/src/phoenix/src/puter-shell/coreutils/sample-data.js
+++ b/src/phoenix/src/puter-shell/coreutils/sample-data.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export default {
name: 'sample-data',
args: {
diff --git a/src/phoenix/src/puter-shell/coreutils/sed.js b/src/phoenix/src/puter-shell/coreutils/sed.js
index f4b4b5f3f..517c8f267 100644
--- a/src/phoenix/src/puter-shell/coreutils/sed.js
+++ b/src/phoenix/src/puter-shell/coreutils/sed.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
import { fileLines } from '../../util/file.js';
import { parseScript } from './sed/parser.js';
diff --git a/src/phoenix/src/puter-shell/coreutils/sed/address.js b/src/phoenix/src/puter-shell/coreutils/sed/address.js
index b90a0c031..fbc943289 100644
--- a/src/phoenix/src/puter-shell/coreutils/sed/address.js
+++ b/src/phoenix/src/puter-shell/coreutils/sed/address.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { makeIndent } from './utils.js';
// Either a line number or a regex
diff --git a/src/phoenix/src/puter-shell/coreutils/sed/command.js b/src/phoenix/src/puter-shell/coreutils/sed/command.js
index 037da01b1..3b258ba56 100644
--- a/src/phoenix/src/puter-shell/coreutils/sed/command.js
+++ b/src/phoenix/src/puter-shell/coreutils/sed/command.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { AddressRange } from './address.js';
import { makeIndent } from './utils.js';
diff --git a/src/phoenix/src/puter-shell/coreutils/sed/parser.js b/src/phoenix/src/puter-shell/coreutils/sed/parser.js
index 28d0b4197..68805cf52 100644
--- a/src/phoenix/src/puter-shell/coreutils/sed/parser.js
+++ b/src/phoenix/src/puter-shell/coreutils/sed/parser.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Address, AddressRange } from './address.js';
import {
AppendTextCommand,
diff --git a/src/phoenix/src/puter-shell/coreutils/sed/script.js b/src/phoenix/src/puter-shell/coreutils/sed/script.js
index e59a5c5ce..db2f10d38 100644
--- a/src/phoenix/src/puter-shell/coreutils/sed/script.js
+++ b/src/phoenix/src/puter-shell/coreutils/sed/script.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { JumpLocation, LabelCommand, GroupEndCommand } from './command.js';
import { fileLines } from '../../../util/file.js';
diff --git a/src/phoenix/src/puter-shell/coreutils/sed/utils.js b/src/phoenix/src/puter-shell/coreutils/sed/utils.js
index f3d59214f..bb068f8df 100644
--- a/src/phoenix/src/puter-shell/coreutils/sed/utils.js
+++ b/src/phoenix/src/puter-shell/coreutils/sed/utils.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export function makeIndent(size) {
return ' '.repeat(size);
}
diff --git a/src/phoenix/src/puter-shell/coreutils/sleep.js b/src/phoenix/src/puter-shell/coreutils/sleep.js
index b71b8f431..7aecc0fa2 100644
--- a/src/phoenix/src/puter-shell/coreutils/sleep.js
+++ b/src/phoenix/src/puter-shell/coreutils/sleep.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
export default {
diff --git a/src/phoenix/src/puter-shell/coreutils/sort.js b/src/phoenix/src/puter-shell/coreutils/sort.js
index 4ec623a9d..e618ee66e 100644
--- a/src/phoenix/src/puter-shell/coreutils/sort.js
+++ b/src/phoenix/src/puter-shell/coreutils/sort.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { resolveRelativePath } from '../../util/path.js';
export default {
diff --git a/src/phoenix/src/puter-shell/coreutils/tail.js b/src/phoenix/src/puter-shell/coreutils/tail.js
index 6a70bb590..9e7990835 100644
--- a/src/phoenix/src/puter-shell/coreutils/tail.js
+++ b/src/phoenix/src/puter-shell/coreutils/tail.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
import { fileLines } from '../../util/file.js';
diff --git a/src/phoenix/src/puter-shell/coreutils/test.js b/src/phoenix/src/puter-shell/coreutils/test.js
index 5c5bc2620..b8d22f869 100644
--- a/src/phoenix/src/puter-shell/coreutils/test.js
+++ b/src/phoenix/src/puter-shell/coreutils/test.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export default {
name: 'test',
args: {
diff --git a/src/phoenix/src/puter-shell/coreutils/touch.js b/src/phoenix/src/puter-shell/coreutils/touch.js
index 5757c2322..d77b09d3d 100644
--- a/src/phoenix/src/puter-shell/coreutils/touch.js
+++ b/src/phoenix/src/puter-shell/coreutils/touch.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
import { resolveRelativePath } from '../../util/path.js';
import { ErrorCodes } from '@heyputer/puter-js-common/src/PosixError.js';
diff --git a/src/phoenix/src/puter-shell/coreutils/true.js b/src/phoenix/src/puter-shell/coreutils/true.js
index 316954520..21ba47ca7 100644
--- a/src/phoenix/src/puter-shell/coreutils/true.js
+++ b/src/phoenix/src/puter-shell/coreutils/true.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export default {
name: 'true',
usage: 'true',
diff --git a/src/phoenix/src/puter-shell/coreutils/txt2img.js b/src/phoenix/src/puter-shell/coreutils/txt2img.js
index c4586540b..9de5e7807 100644
--- a/src/phoenix/src/puter-shell/coreutils/txt2img.js
+++ b/src/phoenix/src/puter-shell/coreutils/txt2img.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
export default {
diff --git a/src/phoenix/src/puter-shell/coreutils/usages.js b/src/phoenix/src/puter-shell/coreutils/usages.js
index a97ec31f0..182731bde 100644
--- a/src/phoenix/src/puter-shell/coreutils/usages.js
+++ b/src/phoenix/src/puter-shell/coreutils/usages.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export default {
name: 'usages',
usage: 'usages',
diff --git a/src/phoenix/src/puter-shell/coreutils/wc.js b/src/phoenix/src/puter-shell/coreutils/wc.js
index f3914467b..71376c9a5 100644
--- a/src/phoenix/src/puter-shell/coreutils/wc.js
+++ b/src/phoenix/src/puter-shell/coreutils/wc.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { resolveRelativePath } from '../../util/path.js';
import { fileLines } from '../../util/file.js';
diff --git a/src/phoenix/src/puter-shell/coreutils/which.js b/src/phoenix/src/puter-shell/coreutils/which.js
index 8fb3ab781..c468bd7c5 100644
--- a/src/phoenix/src/puter-shell/coreutils/which.js
+++ b/src/phoenix/src/puter-shell/coreutils/which.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from './coreutil_lib/exit.js';
export default {
diff --git a/src/phoenix/src/puter-shell/main.js b/src/phoenix/src/puter-shell/main.js
index 98b9dcd28..8c200a922 100644
--- a/src/phoenix/src/puter-shell/main.js
+++ b/src/phoenix/src/puter-shell/main.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import builtins from './coreutils/__exports__.js';
import ReadlineLib from "../ansi-shell/readline/readline.js";
diff --git a/src/phoenix/src/puter-shell/plugins/ChatHistoryPlugin.js b/src/phoenix/src/puter-shell/plugins/ChatHistoryPlugin.js
index 103c15a89..2bf8b8024 100644
--- a/src/phoenix/src/puter-shell/plugins/ChatHistoryPlugin.js
+++ b/src/phoenix/src/puter-shell/plugins/ChatHistoryPlugin.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export const CreateChatHistoryPlugin = ctx => {
const messages = [
{
diff --git a/src/phoenix/src/puter-shell/providers/BuiltinCommandProvider.js b/src/phoenix/src/puter-shell/providers/BuiltinCommandProvider.js
index 680afa5f3..cf71fc0c6 100644
--- a/src/phoenix/src/puter-shell/providers/BuiltinCommandProvider.js
+++ b/src/phoenix/src/puter-shell/providers/BuiltinCommandProvider.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import builtins from '../coreutils/__exports__.js';
export class BuiltinCommandProvider {
diff --git a/src/phoenix/src/puter-shell/providers/CompositeCommandProvider.js b/src/phoenix/src/puter-shell/providers/CompositeCommandProvider.js
index 91300e7f6..0dd03adad 100644
--- a/src/phoenix/src/puter-shell/providers/CompositeCommandProvider.js
+++ b/src/phoenix/src/puter-shell/providers/CompositeCommandProvider.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class CompositeCommandProvider {
constructor (providers) {
this.providers = providers;
diff --git a/src/phoenix/src/puter-shell/providers/PathCommandProvider.js b/src/phoenix/src/puter-shell/providers/PathCommandProvider.js
index 6ce2d435a..b6293e3e0 100644
--- a/src/phoenix/src/puter-shell/providers/PathCommandProvider.js
+++ b/src/phoenix/src/puter-shell/providers/PathCommandProvider.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import path_ from "node:path";
import child_process from "node:child_process";
import stream from "node:stream";
diff --git a/src/phoenix/src/puter-shell/providers/PuterAppCommandProvider.js b/src/phoenix/src/puter-shell/providers/PuterAppCommandProvider.js
index 13540b150..c25892449 100644
--- a/src/phoenix/src/puter-shell/providers/PuterAppCommandProvider.js
+++ b/src/phoenix/src/puter-shell/providers/PuterAppCommandProvider.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Exit } from '../coreutils/coreutil_lib/exit.js';
import { signals } from '../../ansi-shell/signals.js';
diff --git a/src/phoenix/src/puter-shell/providers/ScriptCommandProvider.js b/src/phoenix/src/puter-shell/providers/ScriptCommandProvider.js
index e080fa6af..2d994096b 100644
--- a/src/phoenix/src/puter-shell/providers/ScriptCommandProvider.js
+++ b/src/phoenix/src/puter-shell/providers/ScriptCommandProvider.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import path_ from "path-browserify";
import { Pipeline } from "../../ansi-shell/pipeline/Pipeline.js";
import { resolveRelativePath } from '../../util/path.js';
diff --git a/src/phoenix/src/util/bytes.js b/src/phoenix/src/util/bytes.js
index 9c785ba50..15410da99 100644
--- a/src/phoenix/src/util/bytes.js
+++ b/src/phoenix/src/util/bytes.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class Uint8List {
constructor (initialSize) {
initialSize = initialSize || 2;
diff --git a/src/phoenix/src/util/lang.js b/src/phoenix/src/util/lang.js
index 510f728e8..2b1747784 100644
--- a/src/phoenix/src/util/lang.js
+++ b/src/phoenix/src/util/lang.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export const disallowAccessToUndefined = (obj) => {
return new Proxy(obj, {
get (target, prop, receiver) {
diff --git a/src/phoenix/src/util/log.js b/src/phoenix/src/util/log.js
index aa55747b4..cd11ea743 100644
--- a/src/phoenix/src/util/log.js
+++ b/src/phoenix/src/util/log.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class Log {
static log (...items) {
items = items.map(this.toString);
diff --git a/src/phoenix/src/util/path.js b/src/phoenix/src/util/path.js
index 817de1b9f..d21338e67 100644
--- a/src/phoenix/src/util/path.js
+++ b/src/phoenix/src/util/path.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import path_ from "path-browserify";
export const resolveRelativePath = (vars, relativePath) => {
diff --git a/src/phoenix/src/util/singleton.js b/src/phoenix/src/util/singleton.js
index 6e7c2b94a..bad0521ed 100644
--- a/src/phoenix/src/util/singleton.js
+++ b/src/phoenix/src/util/singleton.js
@@ -16,22 +16,4 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export const EMPTY = Object.freeze({});
diff --git a/src/phoenix/src/util/statemachine.js b/src/phoenix/src/util/statemachine.js
index 459a6d0d0..ce0d6c117 100644
--- a/src/phoenix/src/util/statemachine.js
+++ b/src/phoenix/src/util/statemachine.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { disallowAccessToUndefined } from "./lang.js";
import { Context } from "contextlink";
diff --git a/src/phoenix/src/util/wrap-text.js b/src/phoenix/src/util/wrap-text.js
index 58c97a1fa..bae9a7265 100644
--- a/src/phoenix/src/util/wrap-text.js
+++ b/src/phoenix/src/util/wrap-text.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
/* eslint-disable no-control-regex */
export function lengthIgnoringEscapes(text) {
diff --git a/src/phoenix/test.js b/src/phoenix/test.js
index dbf89ac92..6c5fded77 100644
--- a/src/phoenix/test.js
+++ b/src/phoenix/test.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import {
StringPStratumImpl,
StrataParser,
diff --git a/src/phoenix/test/coreutils.test.js b/src/phoenix/test/coreutils.test.js
index 511ff609f..affd1d4d6 100644
--- a/src/phoenix/test/coreutils.test.js
+++ b/src/phoenix/test/coreutils.test.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { runBasenameTests } from "./coreutils/basename.js";
import { runDateTests } from "./coreutils/date.js";
import { runDirnameTests } from "./coreutils/dirname.js";
diff --git a/src/phoenix/test/coreutils/basename.js b/src/phoenix/test/coreutils/basename.js
index 39f56a71e..0c08e2af1 100644
--- a/src/phoenix/test/coreutils/basename.js
+++ b/src/phoenix/test/coreutils/basename.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { MakeTestContext } from './harness.js'
import builtins from '../../src/puter-shell/coreutils/__exports__.js';
diff --git a/src/phoenix/test/coreutils/date.js b/src/phoenix/test/coreutils/date.js
index c38e8af57..407e9896b 100644
--- a/src/phoenix/test/coreutils/date.js
+++ b/src/phoenix/test/coreutils/date.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import * as ck from 'chronokinesis';
import { MakeTestContext } from './harness.js'
diff --git a/src/phoenix/test/coreutils/dirname.js b/src/phoenix/test/coreutils/dirname.js
index 9cb8a457b..35e0c74dd 100644
--- a/src/phoenix/test/coreutils/dirname.js
+++ b/src/phoenix/test/coreutils/dirname.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { MakeTestContext } from './harness.js'
import builtins from '../../src/puter-shell/coreutils/__exports__.js';
diff --git a/src/phoenix/test/coreutils/echo.js b/src/phoenix/test/coreutils/echo.js
index 3bb7134bb..fd0819ed6 100644
--- a/src/phoenix/test/coreutils/echo.js
+++ b/src/phoenix/test/coreutils/echo.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { MakeTestContext } from './harness.js'
import builtins from '../../src/puter-shell/coreutils/__exports__.js';
diff --git a/src/phoenix/test/coreutils/env.js b/src/phoenix/test/coreutils/env.js
index 26855b931..e65358998 100644
--- a/src/phoenix/test/coreutils/env.js
+++ b/src/phoenix/test/coreutils/env.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { MakeTestContext } from './harness.js'
import builtins from '../../src/puter-shell/coreutils/__exports__.js';
diff --git a/src/phoenix/test/coreutils/errno.js b/src/phoenix/test/coreutils/errno.js
index c09bf9d54..b749de46f 100644
--- a/src/phoenix/test/coreutils/errno.js
+++ b/src/phoenix/test/coreutils/errno.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { MakeTestContext } from './harness.js'
import builtins from '../../src/puter-shell/coreutils/__exports__.js';
diff --git a/src/phoenix/test/coreutils/false.js b/src/phoenix/test/coreutils/false.js
index ef5ad3ff2..c1adfabc4 100644
--- a/src/phoenix/test/coreutils/false.js
+++ b/src/phoenix/test/coreutils/false.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { MakeTestContext } from './harness.js'
import builtins from '../../src/puter-shell/coreutils/__exports__.js';
diff --git a/src/phoenix/test/coreutils/harness.js b/src/phoenix/test/coreutils/harness.js
index 344a8ebbd..5bfc2cdbd 100644
--- a/src/phoenix/test/coreutils/harness.js
+++ b/src/phoenix/test/coreutils/harness.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { Context } from "contextlink";
import { SyncLinesReader } from '../../src/ansi-shell/ioutil/SyncLinesReader.js';
import { CommandStdinDecorator } from '../../src/ansi-shell/pipeline/iowrappers.js';
diff --git a/src/phoenix/test/coreutils/head.js b/src/phoenix/test/coreutils/head.js
index 0c6de2769..bc8f0c8ad 100644
--- a/src/phoenix/test/coreutils/head.js
+++ b/src/phoenix/test/coreutils/head.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { MakeTestContext } from './harness.js'
import builtins from '../../src/puter-shell/coreutils/__exports__.js';
diff --git a/src/phoenix/test/coreutils/printf.js b/src/phoenix/test/coreutils/printf.js
index 60b79de03..b5008bbc7 100644
--- a/src/phoenix/test/coreutils/printf.js
+++ b/src/phoenix/test/coreutils/printf.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { MakeTestContext } from './harness.js'
import builtins from '../../src/puter-shell/coreutils/__exports__.js';
diff --git a/src/phoenix/test/coreutils/sleep.js b/src/phoenix/test/coreutils/sleep.js
index cea93e44c..afb9150bc 100644
--- a/src/phoenix/test/coreutils/sleep.js
+++ b/src/phoenix/test/coreutils/sleep.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import sinon from 'sinon';
import { MakeTestContext } from './harness.js';
diff --git a/src/phoenix/test/coreutils/sort.js b/src/phoenix/test/coreutils/sort.js
index 5f336e4c0..02aa6076a 100644
--- a/src/phoenix/test/coreutils/sort.js
+++ b/src/phoenix/test/coreutils/sort.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { MakeTestContext } from './harness.js'
import builtins from '../../src/puter-shell/coreutils/__exports__.js';
diff --git a/src/phoenix/test/coreutils/tail.js b/src/phoenix/test/coreutils/tail.js
index 4f5f1dc4c..7e4f07fe2 100644
--- a/src/phoenix/test/coreutils/tail.js
+++ b/src/phoenix/test/coreutils/tail.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { MakeTestContext } from './harness.js'
import builtins from '../../src/puter-shell/coreutils/__exports__.js';
diff --git a/src/phoenix/test/coreutils/true.js b/src/phoenix/test/coreutils/true.js
index 2e16062bb..ab87352f4 100644
--- a/src/phoenix/test/coreutils/true.js
+++ b/src/phoenix/test/coreutils/true.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { MakeTestContext } from './harness.js'
import builtins from '../../src/puter-shell/coreutils/__exports__.js';
diff --git a/src/phoenix/test/coreutils/wc.js b/src/phoenix/test/coreutils/wc.js
index 285f03db1..f2e9553f3 100644
--- a/src/phoenix/test/coreutils/wc.js
+++ b/src/phoenix/test/coreutils/wc.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { MakeTestContext } from './harness.js'
import builtins from '../../src/puter-shell/coreutils/__exports__.js';
diff --git a/src/phoenix/test/readtoken.js b/src/phoenix/test/readtoken.js
index 836b96943..33ca677a1 100644
--- a/src/phoenix/test/readtoken.js
+++ b/src/phoenix/test/readtoken.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { readtoken, TOKENS } from '../src/ansi-shell/readline/readtoken.js';
diff --git a/src/phoenix/test/test-bytes.js b/src/phoenix/test/test-bytes.js
index 5ef27bab4..735442ce2 100644
--- a/src/phoenix/test/test-bytes.js
+++ b/src/phoenix/test/test-bytes.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { Uint8List } from '../src/util/bytes.js';
diff --git a/src/phoenix/test/test-stateful-processor.js b/src/phoenix/test/test-stateful-processor.js
index 5264ede11..d77de833d 100644
--- a/src/phoenix/test/test-stateful-processor.js
+++ b/src/phoenix/test/test-stateful-processor.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { StatefulProcessorBuilder } from '../src/util/statemachine.js';
diff --git a/src/phoenix/test/wrap-text.js b/src/phoenix/test/wrap-text.js
index 5d6ba3a5c..8a17dca8a 100644
--- a/src/phoenix/test/wrap-text.js
+++ b/src/phoenix/test/wrap-text.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import assert from 'assert';
import { lengthIgnoringEscapes, wrapText } from '../src/util/wrap-text.js';
diff --git a/src/phoenix/tools/gen.js b/src/phoenix/tools/gen.js
index 713b2c1c0..20a29787e 100644
--- a/src/phoenix/tools/gen.js
+++ b/src/phoenix/tools/gen.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
// Script that generates some of the javascript files
import fs from 'fs';
import path from 'path';
diff --git a/src/pty/exports.js b/src/pty/exports.js
index 6dd6cad43..997fb7970 100644
--- a/src/pty/exports.js
+++ b/src/pty/exports.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { libs } from '@heyputer/puter-js-common';
const { TeePromise, raceCase } = libs.promise;
diff --git a/src/puter-js-common/src/PosixError.js b/src/puter-js-common/src/PosixError.js
index 6d177f600..dd6fd2fcb 100644
--- a/src/puter-js-common/src/PosixError.js
+++ b/src/puter-js-common/src/PosixError.js
@@ -16,24 +16,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
+
const ErrorCodes = {
EACCES: Symbol.for('EACCES'),
EADDRINUSE: Symbol.for('EADDRINUSE'),
diff --git a/src/puter-js/src/index.js b/src/puter-js/src/index.js
index 0ccb016e4..425fb06a0 100644
--- a/src/puter-js/src/index.js
+++ b/src/puter-js/src/index.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import OS from './modules/OS.js';
import FileSystem from './modules/FileSystem/index.js';
import Hosting from './modules/Hosting.js';
diff --git a/src/puter-js/src/modules/AI.js b/src/puter-js/src/modules/AI.js
index 9a8b47c4e..edf9abb4a 100644
--- a/src/puter-js/src/modules/AI.js
+++ b/src/puter-js/src/modules/AI.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../lib/utils.js'
class AI{
diff --git a/src/puter-js/src/modules/Apps.js b/src/puter-js/src/modules/Apps.js
index 0ab714575..4307e29b5 100644
--- a/src/puter-js/src/modules/Apps.js
+++ b/src/puter-js/src/modules/Apps.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../lib/utils.js'
class Apps{
diff --git a/src/puter-js/src/modules/Auth.js b/src/puter-js/src/modules/Auth.js
index 9858c15cd..7c877bbe2 100644
--- a/src/puter-js/src/modules/Auth.js
+++ b/src/puter-js/src/modules/Auth.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../lib/utils.js'
class Auth{
diff --git a/src/puter-js/src/modules/Email.js b/src/puter-js/src/modules/Email.js
index c13405165..4f754d335 100644
--- a/src/puter-js/src/modules/Email.js
+++ b/src/puter-js/src/modules/Email.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../lib/utils.js'
class Email{
diff --git a/src/puter-js/src/modules/FSItem.js b/src/puter-js/src/modules/FSItem.js
index 52ac52b6a..0df2ec5f3 100644
--- a/src/puter-js/src/modules/FSItem.js
+++ b/src/puter-js/src/modules/FSItem.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import path from "../lib/path.js"
class FSItem{
diff --git a/src/puter-js/src/modules/FileSystem/index.js b/src/puter-js/src/modules/FileSystem/index.js
index e3de17507..0e6b2679d 100644
--- a/src/puter-js/src/modules/FileSystem/index.js
+++ b/src/puter-js/src/modules/FileSystem/index.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import io from '../../lib/socket.io/socket.io.esm.min.js';
// Operations
diff --git a/src/puter-js/src/modules/FileSystem/operations/copy.js b/src/puter-js/src/modules/FileSystem/operations/copy.js
index 30b32a8aa..4e33162a0 100644
--- a/src/puter-js/src/modules/FileSystem/operations/copy.js
+++ b/src/puter-js/src/modules/FileSystem/operations/copy.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../../../lib/utils.js';
import getAbsolutePathForApp from '../utils/getAbsolutePathForApp.js';
diff --git a/src/puter-js/src/modules/FileSystem/operations/deleteFSEntry.js b/src/puter-js/src/modules/FileSystem/operations/deleteFSEntry.js
index 616e202fa..0b8644b65 100644
--- a/src/puter-js/src/modules/FileSystem/operations/deleteFSEntry.js
+++ b/src/puter-js/src/modules/FileSystem/operations/deleteFSEntry.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../../../lib/utils.js';
import getAbsolutePathForApp from '../utils/getAbsolutePathForApp.js';
diff --git a/src/puter-js/src/modules/FileSystem/operations/mkdir.js b/src/puter-js/src/modules/FileSystem/operations/mkdir.js
index d48474b72..c256ab654 100644
--- a/src/puter-js/src/modules/FileSystem/operations/mkdir.js
+++ b/src/puter-js/src/modules/FileSystem/operations/mkdir.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../../../lib/utils.js';
import getAbsolutePathForApp from '../utils/getAbsolutePathForApp.js';
import path from "../../../lib/path.js"
diff --git a/src/puter-js/src/modules/FileSystem/operations/move.js b/src/puter-js/src/modules/FileSystem/operations/move.js
index ca338cd1a..eb87c245b 100644
--- a/src/puter-js/src/modules/FileSystem/operations/move.js
+++ b/src/puter-js/src/modules/FileSystem/operations/move.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../../../lib/utils.js';
import getAbsolutePathForApp from '../utils/getAbsolutePathForApp.js';
diff --git a/src/puter-js/src/modules/FileSystem/operations/read.js b/src/puter-js/src/modules/FileSystem/operations/read.js
index 0d35b868f..971bc59d8 100644
--- a/src/puter-js/src/modules/FileSystem/operations/read.js
+++ b/src/puter-js/src/modules/FileSystem/operations/read.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../../../lib/utils.js';
import getAbsolutePathForApp from '../utils/getAbsolutePathForApp.js';
diff --git a/src/puter-js/src/modules/FileSystem/operations/readdir.js b/src/puter-js/src/modules/FileSystem/operations/readdir.js
index 1bbbe001f..fe2f2e145 100644
--- a/src/puter-js/src/modules/FileSystem/operations/readdir.js
+++ b/src/puter-js/src/modules/FileSystem/operations/readdir.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../../../lib/utils.js';
import getAbsolutePathForApp from '../utils/getAbsolutePathForApp.js';
diff --git a/src/puter-js/src/modules/FileSystem/operations/rename.js b/src/puter-js/src/modules/FileSystem/operations/rename.js
index 0c8e1ad2e..c670e482a 100644
--- a/src/puter-js/src/modules/FileSystem/operations/rename.js
+++ b/src/puter-js/src/modules/FileSystem/operations/rename.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../../../lib/utils.js';
import getAbsolutePathForApp from '../utils/getAbsolutePathForApp.js';
diff --git a/src/puter-js/src/modules/FileSystem/operations/sign.js b/src/puter-js/src/modules/FileSystem/operations/sign.js
index 20fe87137..c2d5efb50 100644
--- a/src/puter-js/src/modules/FileSystem/operations/sign.js
+++ b/src/puter-js/src/modules/FileSystem/operations/sign.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../../../lib/utils.js';
diff --git a/src/puter-js/src/modules/FileSystem/operations/space.js b/src/puter-js/src/modules/FileSystem/operations/space.js
index 6592936d0..9c2e787fa 100644
--- a/src/puter-js/src/modules/FileSystem/operations/space.js
+++ b/src/puter-js/src/modules/FileSystem/operations/space.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../../../lib/utils.js';
const space = function (...args) {
diff --git a/src/puter-js/src/modules/FileSystem/operations/stat.js b/src/puter-js/src/modules/FileSystem/operations/stat.js
index 856f51eb5..28f9d6498 100644
--- a/src/puter-js/src/modules/FileSystem/operations/stat.js
+++ b/src/puter-js/src/modules/FileSystem/operations/stat.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../../../lib/utils.js';
import getAbsolutePathForApp from '../utils/getAbsolutePathForApp.js';
diff --git a/src/puter-js/src/modules/FileSystem/operations/upload.js b/src/puter-js/src/modules/FileSystem/operations/upload.js
index 3744d1907..ab8778ea9 100644
--- a/src/puter-js/src/modules/FileSystem/operations/upload.js
+++ b/src/puter-js/src/modules/FileSystem/operations/upload.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../../../lib/utils.js';
import getAbsolutePathForApp from '../utils/getAbsolutePathForApp.js';
import path from "../../../lib/path.js"
diff --git a/src/puter-js/src/modules/FileSystem/operations/write.js b/src/puter-js/src/modules/FileSystem/operations/write.js
index dd1604784..c1319ad4b 100644
--- a/src/puter-js/src/modules/FileSystem/operations/write.js
+++ b/src/puter-js/src/modules/FileSystem/operations/write.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import path from "../../../lib/path.js"
import getAbsolutePathForApp from '../utils/getAbsolutePathForApp.js';
diff --git a/src/puter-js/src/modules/FileSystem/utils/getAbsolutePathForApp.js b/src/puter-js/src/modules/FileSystem/utils/getAbsolutePathForApp.js
index 48a666951..186b94dcf 100644
--- a/src/puter-js/src/modules/FileSystem/utils/getAbsolutePathForApp.js
+++ b/src/puter-js/src/modules/FileSystem/utils/getAbsolutePathForApp.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import path from "../../../lib/path.js"
const getAbsolutePathForApp = (relativePath)=>{
diff --git a/src/puter-js/src/modules/Hosting.js b/src/puter-js/src/modules/Hosting.js
index bca46b3d7..fa2234164 100644
--- a/src/puter-js/src/modules/Hosting.js
+++ b/src/puter-js/src/modules/Hosting.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../lib/utils.js';
import getAbsolutePathForApp from './FileSystem/utils/getAbsolutePathForApp.js';
diff --git a/src/puter-js/src/modules/KV.js b/src/puter-js/src/modules/KV.js
index 0341d1793..c04056065 100644
--- a/src/puter-js/src/modules/KV.js
+++ b/src/puter-js/src/modules/KV.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../lib/utils.js'
class KV{
diff --git a/src/puter-js/src/modules/OS.js b/src/puter-js/src/modules/OS.js
index cf2f43d4e..a436e58a3 100644
--- a/src/puter-js/src/modules/OS.js
+++ b/src/puter-js/src/modules/OS.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import * as utils from '../lib/utils.js'
class OS{
diff --git a/src/puter-js/src/modules/PuterDialog.js b/src/puter-js/src/modules/PuterDialog.js
index 1d77c076a..8be194176 100644
--- a/src/puter-js/src/modules/PuterDialog.js
+++ b/src/puter-js/src/modules/PuterDialog.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
class PuterDialog extends HTMLElement {
constructor(resolve, reject) {
super();
diff --git a/src/puter-js/src/modules/UI.js b/src/puter-js/src/modules/UI.js
index 221cb9ae6..8a3fe496a 100644
--- a/src/puter-js/src/modules/UI.js
+++ b/src/puter-js/src/modules/UI.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import FSItem from './FSItem.js';
import PuterDialog from './PuterDialog.js';
import EventListener from '../lib/EventListener.js';
diff --git a/src/puter-js/src/modules/Util.js b/src/puter-js/src/modules/Util.js
index 2d8fc119e..16dbe1477 100644
--- a/src/puter-js/src/modules/Util.js
+++ b/src/puter-js/src/modules/Util.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { CallbackManager, Dehydrator, Hydrator } from "../lib/xdrpc";
/**
diff --git a/src/puter-js/test/fs.test.js b/src/puter-js/test/fs.test.js
index dcbd07159..c194ef381 100644
--- a/src/puter-js/test/fs.test.js
+++ b/src/puter-js/test/fs.test.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
/* eslint-disable */
// TODO: Make these more compatible with eslint
naughtyStrings = [
diff --git a/src/puter-js/test/kv.test.js b/src/puter-js/test/kv.test.js
index 0a91ab2b8..16de6ab37 100644
--- a/src/puter-js/test/kv.test.js
+++ b/src/puter-js/test/kv.test.js
@@ -1,21 +1,3 @@
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
/* eslint-disable */
// TODO: Make these more compatible with eslint
window.kvTests = [
diff --git a/src/strataparse/dsl/ParserBuilder.js b/src/strataparse/dsl/ParserBuilder.js
index 1a218b28f..c6f3ba19b 100644
--- a/src/strataparse/dsl/ParserBuilder.js
+++ b/src/strataparse/dsl/ParserBuilder.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { SingleParserFactory } from "../parse.js";
export class ParserConfigDSL extends SingleParserFactory {
diff --git a/src/strataparse/dsl/ParserRegistry.js b/src/strataparse/dsl/ParserRegistry.js
index 9ef5104e0..b5126ba89 100644
--- a/src/strataparse/dsl/ParserRegistry.js
+++ b/src/strataparse/dsl/ParserRegistry.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class ParserRegistry {
constructor () {
this.parsers_ = {};
diff --git a/src/strataparse/exports.js b/src/strataparse/exports.js
index daa579d29..42c46f02b 100644
--- a/src/strataparse/exports.js
+++ b/src/strataparse/exports.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { ParserRegistry } from './dsl/ParserRegistry.js';
import { PStratum } from './strata.js';
diff --git a/src/strataparse/parse.js b/src/strataparse/parse.js
index fd5e675f4..f999c3086 100644
--- a/src/strataparse/parse.js
+++ b/src/strataparse/parse.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class Parser {
constructor ({
impl,
diff --git a/src/strataparse/parse_impls/StrUntilParserImpl.js b/src/strataparse/parse_impls/StrUntilParserImpl.js
index a80e4baa3..ed0e87168 100644
--- a/src/strataparse/parse_impls/StrUntilParserImpl.js
+++ b/src/strataparse/parse_impls/StrUntilParserImpl.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export default class StrUntilParserImpl {
constructor ({ stopChars }) {
this.stopChars = stopChars;
diff --git a/src/strataparse/parse_impls/combinators.js b/src/strataparse/parse_impls/combinators.js
index 2f68a8c3b..6d26c3c9b 100644
--- a/src/strataparse/parse_impls/combinators.js
+++ b/src/strataparse/parse_impls/combinators.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { ParserConfigDSL } from "../dsl/ParserBuilder.js";
import { AcceptParserUtil, Parser, ParseResult } from "../parse.js";
diff --git a/src/strataparse/parse_impls/literal.js b/src/strataparse/parse_impls/literal.js
index b5af905e6..7cf64d414 100644
--- a/src/strataparse/parse_impls/literal.js
+++ b/src/strataparse/parse_impls/literal.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { ParserConfigDSL } from "../dsl/ParserBuilder.js";
const encoder = new TextEncoder();
diff --git a/src/strataparse/parse_impls/whitespace.js b/src/strataparse/parse_impls/whitespace.js
index baba772ca..fac313dea 100644
--- a/src/strataparse/parse_impls/whitespace.js
+++ b/src/strataparse/parse_impls/whitespace.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export default class WhitespaceParserImpl {
static meta = {
inputs: 'bytes',
diff --git a/src/strataparse/strata.js b/src/strataparse/strata.js
index e3faafa86..182254553 100644
--- a/src/strataparse/strata.js
+++ b/src/strataparse/strata.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
export class DelegatingPStratumImplAPI {
constructor (facade) {
this.facade = facade;
diff --git a/src/strataparse/strata_impls/ContextSwitchingPStratumImpl.js b/src/strataparse/strata_impls/ContextSwitchingPStratumImpl.js
index a3014ad88..cb351104d 100644
--- a/src/strataparse/strata_impls/ContextSwitchingPStratumImpl.js
+++ b/src/strataparse/strata_impls/ContextSwitchingPStratumImpl.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { AcceptParserUtil, ParseResult, Parser } from "../parse.js";
export default class ContextSwitchingPStratumImpl {
diff --git a/src/strataparse/strata_impls/FirstRecognizedPStratumImpl.js b/src/strataparse/strata_impls/FirstRecognizedPStratumImpl.js
index 2455d3f86..305d1ded0 100644
--- a/src/strataparse/strata_impls/FirstRecognizedPStratumImpl.js
+++ b/src/strataparse/strata_impls/FirstRecognizedPStratumImpl.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { AcceptParserUtil, ParseResult, Parser } from "../parse.js";
export default class FirstRecognizedPStratumImpl {
diff --git a/src/strataparse/strata_impls/MergeWhitespacePStratumImpl.js b/src/strataparse/strata_impls/MergeWhitespacePStratumImpl.js
index f5b7d9273..2867bb7b2 100644
--- a/src/strataparse/strata_impls/MergeWhitespacePStratumImpl.js
+++ b/src/strataparse/strata_impls/MergeWhitespacePStratumImpl.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
const decoder = new TextDecoder();
export class MergeWhitespacePStratumImpl {
diff --git a/src/strataparse/strata_impls/terminals.js b/src/strataparse/strata_impls/terminals.js
index 405a3e036..56fa1e68d 100644
--- a/src/strataparse/strata_impls/terminals.js
+++ b/src/strataparse/strata_impls/terminals.js
@@ -16,24 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-/*
- * Copyright (C) 2024 Puter Technologies Inc.
- *
- * This file is part of Phoenix Shell.
- *
- * Phoenix Shell is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
import { TerminalPStratumImplType } from "../strata.js";
export class BytesPStratumImpl {
diff --git a/src/terminal/assets/normalize.css b/src/terminal/assets/normalize.css
index ea251ae7a..69dca4e37 100644
--- a/src/terminal/assets/normalize.css
+++ b/src/terminal/assets/normalize.css
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Terminal.
*
diff --git a/src/terminal/assets/style.css b/src/terminal/assets/style.css
index f8681392a..5aa3c1ed6 100644
--- a/src/terminal/assets/style.css
+++ b/src/terminal/assets/style.css
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Terminal.
*
diff --git a/src/terminal/config/dev.js b/src/terminal/config/dev.js
index f3a709c69..9323fe988 100644
--- a/src/terminal/config/dev.js
+++ b/src/terminal/config/dev.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Terminal.
*
diff --git a/src/terminal/config/release.js b/src/terminal/config/release.js
index dad116d29..656042830 100644
--- a/src/terminal/config/release.js
+++ b/src/terminal/config/release.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Terminal.
*
diff --git a/src/terminal/doc/license_header.txt b/src/terminal/doc/license_header.txt
index e8d3b6525..1daf37e6a 100644
--- a/src/terminal/doc/license_header.txt
+++ b/src/terminal/doc/license_header.txt
@@ -1,4 +1,4 @@
-Copyright (C) 2024 Puter Technologies Inc.
+Copyright (C) 2024 Puter Technologies Inc.
This file is part of Puter's Terminal.
diff --git a/src/terminal/rollup.config.js b/src/terminal/rollup.config.js
index ae756766b..85f3ac7a9 100644
--- a/src/terminal/rollup.config.js
+++ b/src/terminal/rollup.config.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Terminal.
*
diff --git a/src/terminal/src/main.js b/src/terminal/src/main.js
index f1254e704..ab3e8f2fd 100644
--- a/src/terminal/src/main.js
+++ b/src/terminal/src/main.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Terminal.
*
diff --git a/src/terminal/src/pty/PTT.js b/src/terminal/src/pty/PTT.js
index a3d75a077..7261a7553 100644
--- a/src/terminal/src/pty/PTT.js
+++ b/src/terminal/src/pty/PTT.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Terminal.
*
diff --git a/src/terminal/src/pty/PTY.js b/src/terminal/src/pty/PTY.js
index a053e8414..736724a4e 100644
--- a/src/terminal/src/pty/PTY.js
+++ b/src/terminal/src/pty/PTY.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Terminal.
*
diff --git a/src/terminal/src/pty/XDocumentANSIShell.js b/src/terminal/src/pty/XDocumentANSIShell.js
index 880b7d065..24bd65d20 100644
--- a/src/terminal/src/pty/XDocumentANSIShell.js
+++ b/src/terminal/src/pty/XDocumentANSIShell.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
/*
- * Copyright (C) 2024 Puter Technologies Inc.
+ * Copyright (C) 2024 Puter Technologies Inc.
*
* This file is part of Puter's Terminal.
*